Search found 1115 matches
- Sunday 23rd October 2022 3:49pm
- Forum: General
- Topic: [Solved] Linux Workspace 2-4
- Replies: 26
- Views: 4424
Re: Linux Workspace 2-4
I use Linux Mint 20.3 with the Cinnamon desktop. I could not get Gambas to do what was wanted, so I took a different tack. I have no idea if it will work in your distro, but here are my efforts. https://www.cogier.com/video/MoveWorkspaces.webm https://www.cogier.com/gambas/MoveWorkspaces.png Run the...
- Saturday 22nd October 2022 11:52am
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 24810
Re: JSON files
Did you include the "<a href=" parts by mistake? url strings were added to the URL by the forum and should not be there (Charlie forgot to select the "Do not automatically parse URLs" option) Opps! :? I have fixed this. The reason that the new URL creates a crash is due to the f...
- Friday 21st October 2022 8:51pm
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 24810
Re: JSON files
Hi DayanUt31 and welcome to the forum. I suggest you start a 'New Topic' next time you have a question. Tip: - When adding Gambas code to your posts use the 'gb' button. The code looks a lot better, see below https://www.cogier.com/gambas/gb_button.png Regarding your query, put the code below in a G...
- Monday 3rd October 2022 4:33pm
- Forum: General
- Topic: SOLVED: Cannot expand/collapse anything in form/mod.Class
- Replies: 2
- Views: 803
Re: SOMEWhat solved: Cannot expand/collapse anything in form/mod.Class
I suggest you remove Gambas from your computer and reinstall. You don't say what Distro you are running, but if it is Ubuntu based then I would use Synaptic, search for 'gambas3' and delete the lot. You can then run the following command that will install the Gambas ppa and the stable version of Gam...
- Sunday 2nd October 2022 1:53pm
- Forum: Beginners
- Topic: Detect label and change it
- Replies: 16
- Views: 4288
Re: Detect label and change it
I still think this solution is a lot easier and uses less code. This is your program modified.
Tip: - To make an Archive to post on the Forum, in Gambas: -
Tip: - To make an Archive to post on the Forum, in Gambas: -
- Sunday 2nd October 2022 10:48am
- Forum: Beginners
- Topic: Detect label and change it
- Replies: 16
- Views: 4288
Re: Detect label and change it
p.s. cogier posted while I was typing. It's a good simple solution but not robust.... If the form is redesigned at some point in time then the two arrays will not necessarily be correct any longer. Believe me, I know this from sad experience. I am struggling with this comment. My solution contains ...
- Saturday 1st October 2022 12:59pm
- Forum: Beginners
- Topic: Detect label and change it
- Replies: 16
- Views: 4288
Re: Detect label and change it
My solution to this issue is to use a timer. This is the form I created: - https://www.cogier.com/gambas/DataNeeded.png This is all the code: - Public Sub Timer1_Timer() Dim TBs As TextBox[] = [TextBox1, TextBox2, TextBox3, TextBox4, TextBox5, TextBox6, TextBox7, TextBox8, TextBox9, TextBox10] Dim L...
- Saturday 24th September 2022 4:02pm
- Forum: General
- Topic: Advise on a Idea I am considering
- Replies: 1
- Views: 798
Re: Advise on a Idea I am considering
This should be simple. Write your program with either Command line application or better still a Graphical application . With the latter, you could Hide your Form perhaps add a TrayIcon with a menu, so you can look at the program's progress at anytime. Set up a Timer in your program to trigger every...
- Tuesday 20th September 2022 9:19am
- Forum: Project showcase
- Topic: Simple Temp monitor example using LCDLabel
- Replies: 5
- Views: 10752
Re: Simple Temp monitor example using LCDLabel
I am looking at the program and I think an option to display what the temperature relates to would be helpful. The display shows 52.0 then 44.0 and that's it. What is 52 or 44? The program icon is missing. https://www.cogier.com/gambas/MyTemp.png EDIT: - I thought this might be fun, so I have made a...
- Saturday 17th September 2022 9:23am
- Forum: General
- Topic: Music controls
- Replies: 7
- Views: 1355
Re: Music controls
Unfortunately, these tools only do what I have already mastered. To change the volume I use: - Shell "amixer -D pulse set Master " & Str(SliderVol.Value) & "%" And to pause the music: - MediaPlayer1.Pause() I was after using the controls on the desktop to control my progr...