Basically, assign some simple HTML to the text property. Not sure what comprises simple HTML though.

ie TextLabel1.Text="<b>Bold</b> not bold"

Seelhttp://gambaswiki.org/wiki/comp/gb.qt4/textlabel


On 2017-07-06 12:43 PM, Fernando Cabral wrote:
Based on the image you've sent a link to, I have not been able to
understand how to do it.

Thank you.

- fernando

2017-07-06 11:08 GMT-03:00 Charlie <char...@cogier.com>:

Fernando Cabral wrote
I'd like to display text highlights like bold and italics. Can I do it
using TextArea? If yes, how?

If I can't which resource should I use?
Try using a TextLabel: -

<http://gambas.8142.n7.nabble.com/file/n59696/GUITest.png>




-----
Check out www.gambas.one
--
View this message in context: http://gambas.8142.n7.nabble.
com/What-is-the-simplest-way-to-display-text-properties-in-
Gambas-tp59692p59696.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to