Search found 1106 matches

by cogier
Friday 18th November 2022 3:07pm
Forum: General
Topic: Program that Starts other programs
Replies: 8
Views: 1010

Re: Program that Starts other programs

I am running Linux Mint 21 with the Cinnamon desktop. It has "Startup applications" menu. Here you can see my music player that will wait for 15 seconds before starting. I expect other distros have something similar. Does this help?

Image
by cogier
Thursday 17th November 2022 2:44pm
Forum: Beginners
Topic: I have a big problem with the help in the Gambas IDE
Replies: 13
Views: 2914

Re: I have a big problem with the help in the Gambas IDE

Have you tried setting the help files for offline? Tools>Preferences>Help & applications

Image
by cogier
Tuesday 15th November 2022 3:54pm
Forum: Project showcase
Topic: Routines for Set manipulation
Replies: 3
Views: 4367

Re: Routines for Set manipulation

Use of sets can quite often shorten code; suppose you want to take some action depending on whether a number is in a certain range, eg, IF(n >= 5 AND n <= 10) OR (n >= 25 AND n <= 30) THEN... Using a set with the appropriate range you need only write IF set_in(n, ranges) THEN... which is simpler an...
by cogier
Tuesday 15th November 2022 11:35am
Forum: Project showcase
Topic: Routines for Set manipulation
Replies: 3
Views: 4367

Re: Routines for Set manipulation

Well, I read about sets from your links and now my brain hurts! What was missing was a useful example. What do you do with these sets?
by cogier
Thursday 10th November 2022 5:37pm
Forum: Beginners
Topic: Which event is in use
Replies: 9
Views: 1963

Re: Which event is in use

Can you post an example program, so we can see what you mean.
by cogier
Thursday 10th November 2022 10:56am
Forum: Beginners
Topic: Using an external editor
Replies: 7
Views: 3701

Re: Using an external editor

Hi Median Joe and welcome to the forum.

You can use any text editor to create your code. You need to put #!/usr/bin/env gbs3 as the first line of the file and once you have saved it right-click and make the file 'Executable'.

There is a load of help here.
by cogier
Thursday 3rd November 2022 5:14pm
Forum: Beginners
Topic: Problems with sort in a String[]
Replies: 15
Views: 2945

Re: Problems with sort in a String[]

Is this what you want? Public Sub Form_Open() Dim asArch As New String[] Dim sWork As String asArch.Add("10/31/2022 16:35|2022-10-31_16.35_ContaDB.db") asArch.Add("11/03/2022 17:23|2022-11-03_17.23_ContaDB.db") asArch.Add("10/31/2022 12:05|2022-10-31_12.05_ContaDB.db") ...
by cogier
Tuesday 1st November 2022 10:53am
Forum: Project showcase
Topic: Nightfall
Replies: 13
Views: 14162

Re: Nightfall

I tried replicating your issue with Cinnamon on my machine, but it displayed fine with or without the fix. I tried your program on my laptop (Mint 20.3 Cinnamon) and I did not see any issue. Then I thought I would upgrade the laptop to Mint 21, if you are going to do this remove Gambas first. The g...
by cogier
Monday 31st October 2022 3:28pm
Forum: Project showcase
Topic: Nightfall
Replies: 13
Views: 14162

Re: Nightfall

I think the graphics are very good and smooth. The first time I started the program, I was trying to work out what to do in this new environment, then I was dead! I think the game could do with a 'Start' button (and a Pause?). Looking at the code, there are lots of buttons to press: - 'Commit suicid...
by cogier
Monday 24th October 2022 4:37pm
Forum: General
Topic: Dynamically Created Tables on a Scrollarea - random artefacts after scrolling
Replies: 11
Views: 1545

Re: Dynamically Created Tables on a Scrollarea - random artefacts after scrolling

When uploading Gambas files to the Forum please use 'Source archive', your program will then run : -

Image