[Gambas-user] R: Get html tags from RichText

Ru Vuott vuott at ...325...
Fri Mar 18 15:29:10 CET 2016


I would use the Scan() function:

Public Sub Form_Open()

  Dim s As String
  
  With TableView1
    .Rows.Count = 3
    .Columns.Count = 3
  End With

  With TableView1[0, 0]
    .RichText = "<FONT Color=red>abcde</font>"
    s = Scan(.RichText, "*=*>*")[1]
  End With
  
  Print s
  
End





--------------------------------------------
Ven 18/3/16, abbat81 <abbat.81 at ...787...> ha scritto:

 Oggetto: [Gambas-user] Get html tags from RichText
 A: gambas-user at lists.sourceforge.net
 Data: Venerdì 18 marzo 2016, 12:32
 
 There is a RichText in my
 TableView.Cell.RichText
 Can I get source of that content? 
 (I need to know what color ther is.)
 
 Thanks in advance
 
 
 
 --
 View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710.html
 Sent from the gambas-user mailing list archive at
 Nabble.com.
 
 ------------------------------------------------------------------------------
 Transform Data into Opportunity.
 Accelerate data analysis in your applications with
 Intel Data Analytics Acceleration Library.
 Click to learn more.
 http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
 _______________________________________________
 Gambas-user mailing list
 Gambas-user at lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list