[Gambas-user] Possible bug?

Pino Zollo pinozollo at ...626...
Wed Sep 16 18:01:22 CEST 2009


> "Rich text is mainly used by TextLabel, GridView cells, and the
>Draw.RichText method. "
> and TextView ?      ------>  I meen TextEdit   (sorry i've 5 year late)

...but do not use the method Insert:

taSpots.Insert(p)  ....it prints all chars including tags

use:

taSpots.Text = p

Only in this  way  Rich Text tags will be executed.

[ p is a string containing rich text and taSpot is the name of the TextEdit in 
my project]

Regads
Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net




More information about the User mailing list