Discussion:
What is the simplest way to display text properties in Gambas?
(too old to reply)
Fernando Cabral
2017-07-05 21:00:00 UTC
Permalink
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?

Regards

- fernando
--
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: ***@gmail.com
Facebook: ***@fcabral.com.br
Telegram: +55 (37) 99988-8868
Wickr ID: fernandocabral
WhatsApp: +55 (37) 99988-8868
Skype: fernandojosecabral
Telefone fixo: +55 (37) 3521-2183
Telefone celular: +55 (37) 99988-8868

Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
nenhum político ou cientista poderá se gabar de nada.
Charlie
2017-07-06 14:08:48 UTC
Permalink
Post by Fernando Cabral
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: -

<Loading Image...>




-----
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.
Fernando Cabral
2017-07-06 16:43:59 UTC
Permalink
Based on the image you've sent a link to, I have not been able to
understand how to do it.

Thank you.

- fernando
Post by Charlie
Post by Fernando Cabral
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
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: ***@gmail.com
Facebook: ***@fcabral.com.br
Telegram: +55 (37) 99988-8868
Wickr ID: fernandocabral
WhatsApp: +55 (37) 99988-8868
Skype: fernandojosecabral
Telefone fixo: +55 (37) 3521-2183
Telefone celular: +55 (37) 99988-8868

Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
nenhum político ou cientista poderá se gabar de nada.
Tony Morehen
2017-07-06 18:17:45 UTC
Permalink
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
Post by Fernando Cabral
Based on the image you've sent a link to, I have not been able to
understand how to do it.
Thank you.
- fernando
Post by Charlie
Post by Fernando Cabral
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
https://lists.sourceforge.net/lists/listinfo/gambas-user
Gianluigi
2017-07-06 22:06:53 UTC
Permalink
Yes,
strangely, gmail deleted part of Charlie's message
http://gambas.8142.n7.nabble.com/What-is-the-simplest-way-to-display-text-properties-in-Gambas-td59692.html

Gianluigi
Post by Tony Morehen
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
Post by Fernando Cabral
Based on the image you've sent a link to, I have not been able to
understand how to do it.
Thank you.
- fernando
Post by Charlie
Post by Fernando Cabral
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
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
https://lists.sourceforge.net/lists/listinfo/gambas-user
Continue reading on narkive:
Loading...