Rich text editor
Posted
#1
(In Topic #344)
Regular

Does gambas 3.14.1 pi has any way to render Rich Text?
I know that i can make it HTML and use a webview. But I want to have a text box with editable lines, where i can individually set the color/style of each character
I am trying to use gb.qt5.ext.textedit. But I can't find any information on this
Posted
Guru

Here is a small program I have put together that might help. If it's not what you are looking for can you please provide a little more detail as to the purpose of your program.
Posted
Regular

Posted
Regular

this is failing with "component not found gb.qt4". I have enabled it in project properties:
<IMG src="https://i.imgur.com/xIcMYS2.png">
</IMG>I am in qt5. So, I wonder what to do now?
Posted
Guru

Let us know if this works for you.
<IMG src="http://www.cogier.com/gambas/Project%20properties.png">
</IMG>
Posted
Regular

Thank you
This happened after deselecting qt4 and selecting qt5:
<IMG src="https://i.imgur.com/vitw4St.png">
Thank you.
Posted
Regular

Posted
Guru

I am not sure that this is exactly what you were looking for as you have to edit in a different area, but I hope it helps
The commands you can use are shown here.
<IMG src="http://www.cogier.com/gambas/RichText.png">
</IMG>
1 guest and 0 members have just viewed this.


