Search found 478 matches

by BruceSteers
Monday 10th May 2021 10:40am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 8
Views: 106

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 ...
by BruceSteers
Monday 10th May 2021 8:19am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 8
Views: 106

Re: Automatic change of Row Height with WordWrap ?

Odd , i copy and pasted the text straight from the Label.class in gb.gui.base... I just checked and have Font.RichtextSize on Form, Me, and Gridview using gambas 3.16 Also i noticed in your code example That iWidth was not given a value RichTextHeight should do the same then. (no need to use Rect ju...
by BruceSteers
Sunday 09th May 2021 10:16pm
Forum: General
Topic: [Solved] Notification panel icon
Replies: 4
Views: 56

Re: Notification panel icon

http://gambaswiki.org/wiki/comp/gb.gui.trayicon

That should help 😎

Theres possibly examples on he farm.
by BruceSteers
Sunday 09th May 2021 11:50am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 8
Views: 106

Re: Automatic change of Row Height with WordWrap ?

You can do it manually using RichTextSize command

Dim hRect As Rect
hRect = Me.Font.RichTextSize(sText, iWidth)

iTextWidth = hRect.W ' we don't need this as we know the width

iTextHeight = hRect.H ' this will be the height you need

by BruceSteers
Saturday 08th May 2021 8:27pm
Forum: General
Topic: how to make PC Speaker Beep
Replies: 3
Views: 73

Re: how to make PC Speaker Beep

install beep
sudo apt-get install beep

then use shell in gambas to run it...
Shell "beep"
by BruceSteers
Saturday 08th May 2021 5:29am
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 129

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. Yeah R...
by BruceSteers
Friday 07th May 2021 5:12pm
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 129

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 “ after...
by BruceSteers
Thursday 06th May 2021 12:11pm
Forum: Lounge
Topic: 'Read Only' ? Help!
Replies: 2
Views: 74

Re: 'Read Only' ? Help!

Glad you sorted it.
I was going to suggest to check the toolbutton for lock/unlock file
by BruceSteers
Monday 03rd May 2021 7:43pm
Forum: General
Topic: gb.desktop.x11
Replies: 14
Views: 310

Re: gb.desktop.x11

grayghost4 wrote:
Monday 03rd May 2021 7:18pm
I did what you suggested :

apt-get remove gambas3*

then

sudo make install

and Gambas is working .... but still no x11 :(
I suggested running all commands, that's..
./reconf-all
./configure -C
make
sudo make install

just 'make install' was not enough on the last update
:)
by BruceSteers
Monday 03rd May 2021 6:42pm
Forum: General
Topic: gb.desktop.x11
Replies: 14
Views: 310

Re: gb.desktop.x11

I download and followed the instruction on the web site configrue ,,, make .... make install . oops there will be conflicts with apt version and compiled version. You will need to remove the apt version apt-get remove gambas3* to remove any apt installed gambas files. and if this deletes any gambas...