[Gambas-user] Get html tags from RichText
Gianluigi
bagonergi at ...626...
Fri Mar 18 17:49:38 CET 2016
If you want to get the color, the correct answer is to vuott.
If you also wish to know the tags as your title then you can do that:
Public Sub Form_Open()
Dim s As String
Dim fl As File
With TableView1
.Rows.Count = 3
.Columns.Count = 3
End With
With TableView1[0, 0]
.RichText = "<FONT Color=red>abcde</font>"
's = Scan(.RichText, "*=*>*")[1]
'Print s
s = .RichText
End With
Print Html$(s)
End
Regards
Gianluigi
2016-03-18 13:09 GMT+01:00 abbat81 <abbat.81 at ...787...>:
> Yes, it works, thank you! :)
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710p55712.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