Search found 1113 matches
- Monday 29th January 2024 3:07pm
- Forum: Project showcase
- Topic: Blockski+ , like Klotski but with a board editor.
- Replies: 45
- Views: 12610
Re: Blockski+ , like Klotski but with a board editor.
Could you add some help? I haven't a clue what I am expected to do!
- Sunday 28th January 2024 12:09pm
- Forum: The Gambas IDE
- Topic: Can't Configue Executable
- Replies: 6
- Views: 2628
Re: Can't Configue Executable
That proved interesting. Apparently the shortcut keys to show the Menu bar are [Ctrl]+[Alt]+M , but this did not work for me. I closed Gambas, then managed to get the bar to show by going to ~/.config/gambas3 and editing the gambas3.conf file. Look for the ShowMenus=False and change it to ShowMenus=...
- Saturday 27th January 2024 5:46pm
- Forum: General
- Topic: [Sloved] Help with getting a image to fit onto a button
- Replies: 12
- Views: 2375
Re: Help with getting a image to fit onto a button
It does, BUT only with gb.gui. If I use gb.gui.qt all I get is a very black button!Here is a function that does that trick.
- Tuesday 16th January 2024 5:24pm
- Forum: Beginners
- Topic: Where to place design documentation in project heirarchy?
- Replies: 6
- Views: 2235
Re: Where to place design documentation in project heirarchy?
Hi Neil and welcome to the forum. I suggest you store your files in your program's folder. While in Gambas with your program loaded, from the Tools menu select Browse project... . This will open your program's folder in your file manager. If you change any files while the Gambas IDE is open you may ...
- Tuesday 9th January 2024 4:27pm
- Forum: Beginners
- Topic: How to check if two files are identical
- Replies: 4
- Views: 1821
Re: How to check if two files are identical
I agree with thatbruce . The diff command will do what you need. Have a look at the code below. Public Sub Form_Open() Dim sFile1 As String = User.Home &/ "Diff1" Dim sFile2 As String = User.Home &/ "Diff2" Dim sResult As String Shell "diff " & sFile1 & ...
- Friday 5th January 2024 1:33pm
- Forum: Beginners
- Topic: TheUnexplained
- Replies: 7
- Views: 2633
Re: TheUnexplained
It's possible that when your program starts on boot the system is not quite ready yet. I suggest you allow some time for it to settle down before you start your program. I use Linux Mint which allows for a period of time after boot before your program starts. You can see below that even some of the ...
- Sunday 31st December 2023 10:48am
- Forum: Beginners
- Topic: Iterating Controls on Tabstrip
- Replies: 4
- Views: 1536
Re: Iterating Controls on Tabstrip
If I understand you correctly, you could give all the TextBoxes the same Action name: - https://www.cogier.com/gambas/ActionProperty.png Then delete all your code and replace with:- Public Sub Button1_Click() Action["AllTBs"].Text = "OK" End Let us know if I have not understood y...
- Monday 25th December 2023 1:20pm
- Forum: Component
- Topic: SpinBar Precision
- Replies: 4
- Views: 2188
Re: SpinBar Precision
I don't think you can do what you want with a SpinBar. So I suggest you create your own control. Try running the code below in a Graphical Application. https://www.cogier.com/gambas/SpinBarReplacement.png HBox1 As HBox LabelText As Label LabelValue As Label Slider1 As Slider Public Sub Form_Open() B...
- Monday 25th December 2023 12:27pm
- Forum: General
- Topic: Run a function at a certain time of day
- Replies: 2
- Views: 4454
Re: Run a function at a certain time of day
Here is my possible solution. A timer is setup to trigger every minute. It checks to see if today's date is a weekday and if it is then it checks to see if the time is 13:30 and if so runs the required routine. Timer1 As Timer Public Sub Form_Open() With Timer1 = New Timer As "Timer1" .Del...
Re: Qt6
If you install an Ubuntu based distribution, e.g. Linux Mint you can then install the Gambas ppa, and Gambas, in Terminal with the command below. It will give you the latest Gambas stable version 3.18.4. I think you will find this will simply work. sudo add-apt-repository -y ppa:gambas-team/gambas3 ...