Search found 84 matches

by Doctor Watson
Friday 14th May 2021 1:20pm
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7526

Re: Automatic change of Row Height with WordWrap ?

Well I’ll be damned! All hail Cougier! Let’s go back to the very beginning of this topic: The solution would be that Rows[x].Height changes automatically when any cell in that row ‘WordWraps’ it’s content. Either I don’t find it, or it’s not possible (yet). I found a topic about this here: https://g...
by Doctor Watson
Thursday 13th May 2021 3:08pm
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7526

Re: Automatic change of Row Height with WordWrap ?

Hi everybody I’ve been rather busy to get this project working. As Cogier pointed out, it could perhaps be written entirely in HTML, but there are options – for me at least – can be achieved easier with GridView, combined with it’s option to edit cells with HTML. I suppose things would be easier if ...
by Doctor Watson
Monday 10th May 2021 9:12am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7526

Re: Automatic change of Row Height with WordWrap ?

I just found something, but it’s way beyond my pay grade. I checked the project properties and noticed that in ‘Components’ ‘gb.qt4’ is disabled. I tried to enable it, but got a message that gb.gui and gb.qt4 are incompatible. So I disabled gb.gui and now RichTextSize no longer gives an error. But m...
by Doctor Watson
Monday 10th May 2021 6:27am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7526

Re: Automatic change of Row Height with WordWrap ?

Cogier : Thanks for the HTML demonstration. It seems that a lot more is possible than mentioned in the Gambas manual (http://gambaswiki.org/wiki/doc/richtext) . I will however need the best of both worlds and use a GridView when I want to display graphics and text in one or more columns. Bruce : Sor...
by Doctor Watson
Sunday 9th May 2021 9:21am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7526

Re: Automatic change of Row Height with WordWrap ?

Sorry, forgot to mention: when you run the project, clicking on the grid will toggle grid lines on and off.
by Doctor Watson
Sunday 9th May 2021 9:15am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7526

Automatic change of Row Height with WordWrap ?

Hi. In my search for a suitable way to display HTML rich text I discovered that a nice solution for my project would be to ‘abuse’ a GridView control for that purpose. The formatting possibilities of the grid itself and it’s cells, combined with the Rich Text displayed in those cells are manifold. I...
by Doctor Watson
Saturday 8th May 2021 8:13am
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 5196

Re: <SOLVED> How can I display Rich Text in a TextLabel

Bruce : First time I hear about a Webview control. I’ll have a look at it. Cogier : It seems that only TextLabel refuses .RichText, although when you’re typing in the editor and you arrive at TextLabel1.ric , the usual popup indicates the possibility of RichText and will accept it. Only – as we foun...
by Doctor Watson
Saturday 8th May 2021 4:30am
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 5196

Re: <SOLVED> How can I display Rich Text in a TextLabel

OK guys. Thanks for the advice.
There’s only one drawback with the supported HTML markup : you can’t center the title line in a TextLabel and have the rest of the text left-alligned.
Apparently the <center> markup has become obsolete or is no longer supported.
But there are ways around that.
by Doctor Watson
Friday 7th May 2021 2:56pm
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 5196

Re: How can I display Rich Text in a TextLabel

Oh dear ! I just didn’t notice and consider those spaces. And I just found out how they got there in the first place. Copy <p><b> Welcome </b></p> , without putting it between “ “ to a blank line in the Gambas editor and see what happens. I did and added the Edit$[0] = " and then the ending “ a...
by Doctor Watson
Friday 7th May 2021 1:47pm
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 5196

<SOLVED> How can I display Rich Text in a TextLabel

Hi. I was planning to use a TextLabel control to display information in Rich Text format. When I put a TextLabel on a form and enter some Rich Text using the little text editor, it works fine. But I want to import some external text (a user manual) to be displayed, stored in a seperate module or fro...