Search found 75 matches

by JumpyVB
Monday 30th October 2023 3:46pm
Forum: Beginners
Topic: Best method for making a small modification to a gambas builtin class file
Replies: 6
Views: 4869

Re: Best method for making a small modification to a gambas builtin class file

Inheritance becomes tricky when you want to access internal private data. Good to know. Thank you for this information. ' Gambas class file Export Inherits ListBox Public Sub GridView_Data(Row As Integer, (Column) As Integer) Super.GridView_Data(Row, Column) ' Run the parent GridView_Data() event D...
by JumpyVB
Sunday 29th October 2023 5:24am
Forum: Beginners
Topic: Best method for making a small modification to a gambas builtin class file
Replies: 6
Views: 4869

Re: Best method for making a small modification to a gambas builtin class file

Somewhere in the help is the description of how to override classes in your application. Yeas, extend and override sound like something I am after. I like to use a google search for the gambas wiki with target site specified like this: class override site:https://gambaswiki.org I was able to find t...
by JumpyVB
Friday 27th October 2023 3:05pm
Forum: General
Topic: External C-Libary and Events
Replies: 7
Views: 9634

Re: External C-Libary and Events

vuott wrote: Thursday 26th October 2023 3:37pmNow it works!
I can confirm. Thank you.
by JumpyVB
Friday 27th October 2023 9:06am
Forum: Beginners
Topic: Best method for making a small modification to a gambas builtin class file
Replies: 6
Views: 4869

Best method for making a small modification to a gambas builtin class file

I want to use Richt Text in a ListBox control. To achieve this I have copied the contents of /home/user/gambas-3.18.2/comp/src/gb.gui.base/.src/ListBox/ListBox.class to my project with a new class name RichListBox. I only changed one line of code in "Public Sub GridView_Data" like so: Publ...
by JumpyVB
Tuesday 10th October 2023 2:53pm
Forum: The Gambas IDE
Topic: How to solve gambas code editor FONT BLURRINESS on a 4K display with 200 % monitor scale ?
Replies: 5
Views: 4837

Re: How to solve gambas code editor FONT BLURRINESS on a 4K display with 200 % monitor scale ?

BruceSteers wrote: Saturday 30th September 2023 7:57amHave you run the qt5ct settings tool?
Yes, tweaks on the "Fonts"-Tab in "Qt5 Configuration Tool" fixed this and I can now enjoy clear text. Thank you.
by JumpyVB
Tuesday 10th October 2023 2:35pm
Forum: The Gambas IDE
Topic: Band Font Size error when trying to use Gambas IDE with QT5
Replies: 2
Views: 3603

Re: Band Font Size error when trying to use Gambas IDE with QT5

I am using Linux Mint 21.2 with the Cinnamon desktop and I did not get the same error as you. Thank you for confirming. That means that this issue is related to my evironment. This lead me to experiment and try to find out what this error was linked to. I was able to fix it in "Qt5 Configurati...
by JumpyVB
Sunday 8th October 2023 12:31pm
Forum: The Gambas IDE
Topic: Band Font Size error when trying to use Gambas IDE with QT5
Replies: 2
Views: 3603

Band Font Size error when trying to use Gambas IDE with QT5

I get bad font size errors in Linux Mint if I start gambas3 using this command: $ env GB_GUI=gb.qt5 gambas3 Can a fellow Linux Mint user confirm if this error is present or absent on other Linux Mint installations and not just on mine? user@nuc ~ $ env GB_GUI=gb.qt5 gambas3 QFont::setPointSizeF: Poi...
by JumpyVB
Sunday 1st October 2023 5:44pm
Forum: Beginners
Topic: Problems with Containers
Replies: 4
Views: 3790

Re: Problems with Containers

Do you mean overlapping so it looks like one label? I want O to be draw over X; Not above or below. OX.png And the width of the element should be exactly the length of Xxx no more or less. Eventually I will hide Xxx. I want Xxx to reserve the space and not be visible. O should be aligned left. PS: ...
by JumpyVB
Sunday 1st October 2023 5:28am
Forum: Beginners
Topic: Problems with Containers
Replies: 4
Views: 3790

Problems with Containers

What I struggle most in Gambas is probably the arrangement of gui elements. I find the Containers such as Panel cumbersome to works with. What I need to achieve (and am unable to currently) is placing two TextLabels on top of each other, aligned right on the main panel, and aligned left in regards o...
by JumpyVB
Saturday 30th September 2023 3:51am
Forum: The Gambas IDE
Topic: How to solve gambas code editor FONT BLURRINESS on a 4K display with 200 % monitor scale ?
Replies: 5
Views: 4837

Re: How to solve gambas code editor FONT BLURRINESS on a 4K display with 200 % monitor scale ?

I seem to have no blurriness of the code editor in Solus (a GNU/Linux distribution) where I only have Qt5 and no Gtk (I was unable to find and install all the depencies required for Gtk 2 or 3). In Linux Mint the Gambas IDE seems to use Gtk3 by default, so I wanted to try Gambas with Qt in Linux Min...