Search found 1106 matches

by cogier
Monday 24th October 2022 4:03pm
Forum: General
Topic: Removing table headers forces a scrollbar
Replies: 2
Views: 576

Re: Removing table headers forces a scrollbar

The scroll bars can be turned off.
GridView1.ScrollBar = GridView.None
The gridview is 'Padded', by default, with 2. You could turn that off as well.
GridView1.Padding = 0
But why do you need to be so accurate?
by cogier
Sunday 23rd October 2022 3:49pm
Forum: General
Topic: [Solved] Linux Workspace 2-4
Replies: 26
Views: 3651

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...
by cogier
Saturday 22nd October 2022 11:52am
Forum: General
Topic: JSON files
Replies: 24
Views: 23047

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...
by cogier
Friday 21st October 2022 8:51pm
Forum: General
Topic: JSON files
Replies: 24
Views: 23047

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...
by cogier
Monday 3rd October 2022 4:33pm
Forum: General
Topic: SOLVED: Cannot expand/collapse anything in form/mod.Class
Replies: 2
Views: 564

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...
by cogier
Sunday 2nd October 2022 1:53pm
Forum: Beginners
Topic: Detect label and change it
Replies: 16
Views: 3645

Re: Detect label and change it

I still think this solution is a lot easier and uses less code. This is your program modified.
validateText-0.1.tar.gz
(12.39 KiB) Downloaded 126 times
Tip: - To make an Archive to post on the Forum, in Gambas: -

Image
by cogier
Sunday 2nd October 2022 10:48am
Forum: Beginners
Topic: Detect label and change it
Replies: 16
Views: 3645

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 ...
by cogier
Saturday 1st October 2022 12:59pm
Forum: Beginners
Topic: Detect label and change it
Replies: 16
Views: 3645

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...
by cogier
Saturday 24th September 2022 4:02pm
Forum: General
Topic: Advise on a Idea I am considering
Replies: 1
Views: 543

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...
by cogier
Tuesday 20th September 2022 9:19am
Forum: Project showcase
Topic: Simple Temp monitor example using LCDLabel
Replies: 5
Views: 8863

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...