Search found 1113 matches

by cogier
Thursday 13th May 2021 4:56pm
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7644

Re: Automatic change of Row Height with WordWrap ?

1/. The reason the panel you wanted did not work is that you needed to 'Arrange' it so the GridView could expand. 2/. It took some experimentation, but I think you will find that the cells will now auto adjust. 3/. The .Font.Underline works for me. https://www.cogier.com/gambas/GViewProject.png Here...
by cogier
Thursday 13th May 2021 2:32pm
Forum: General
Topic: Access the value of a TreeView Checkbox
Replies: 5
Views: 3925

Re: Access the value of a TreeView Checkbox

I could not see an easier way to do this. However, I have made a few changes that you may (or may not) like which include: - The Form is now expandable The list is now updated by a Timer, so you don't have to leave the TreeView to update Added a simple NewItem Form, the Timer sorts the rest aTemp no...
by cogier
Wednesday 12th May 2021 3:32pm
Forum: General
Topic: Access the value of a TreeView Checkbox
Replies: 5
Views: 3925

Re: Access the value of a TreeView Checkbox

....I see that it is possible to show a checkbox for each item in a qt4/qt5 TreeView control....
Can you post some code showing how you do this.
by cogier
Monday 10th May 2021 2:02pm
Forum: General
Topic: [Solved] Notification panel icon
Replies: 4
Views: 3407

Re: Notification panel icon

The code below should do the trick. There are at least 3 examples on the Farm. Alarm_Timer , FileTidy and Analogue_clock . ''needs gb.gui.trayicon TrayIcon1 As TrayIcon Public Sub Form_Open() With TrayIcon1 = New TrayIcon .Picture = Picture["icon:/256/emote-cool"] .show End With End
by cogier
Sunday 9th May 2021 11:56am
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 7644

Re: Automatic change of Row Height with WordWrap ?

I think you would be better off with a TextLabel. I have looked at your code and modified it, hopefully this will help. See what happens when the form is resized. https://www.cogier.com/gambas/TextLabel1.png https://www.cogier.com/gambas/TextLabel2.png TextLabel1 As TextLabel Public Sub Form_Open() ...
by cogier
Friday 7th May 2021 2:59pm
Forum: General
Topic: <SOLVED> How can I display Rich Text in a TextLabel
Replies: 8
Views: 5297

Re: How can I display Rich Text in a TextLabel

You can't use '.RichText'. Just use HTML. I also agree with Steve, you don't need all those spaces. A <p> does not require a </p>. Try this code that adds the Gambas help page that you can see here . https://www.cogier.com/gambas/HTML.png ' Gambas class file ''FMain Public Sub Form_Open() With Me .H...
by cogier
Monday 3rd May 2021 2:43pm
Forum: General
Topic: gb.desktop.x11
Replies: 15
Views: 9157

Re: gb.desktop.x11

I wanted to help .... upgraded to 16 ... but do not have gb.desktop.x11 :(
Try installing it. You need to install gambas3-gb-desktop-x11. On Debian, Ubuntu, Mint etc use: -

Code: Select all

sudo apt-get -y install gambas3-gb-desktop-x11
by cogier
Monday 3rd May 2021 10:51am
Forum: General
Topic: gb.desktop.x11
Replies: 15
Views: 9157

gb.desktop.x11

Can you try adding the component gb.desktop.x11 to a program and see if you get the following error.

I have put a bug in for this but Benoît can't replicate the problem.

Thanks

Image
by cogier
Wednesday 28th April 2021 2:17pm
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 10894

Re: Function Rotate(Angle As Float) As Image

Have a look at the following programs on the Gambas Farm: -

An excellent 'example' program Painting 1.0.0
This one uses the Paint Class to redraw the clock Analogue_clock 1.0.0
by cogier
Tuesday 27th April 2021 2:41pm
Forum: Lounge
Topic: What's happening with v3.16.0 updates?
Replies: 13
Views: 12591

Re: What's happening with v3.16.0 updates?

In Synaptic...
And let there be light! :idea:

Thanks, Steve