Search found 1567 matches

by BruceSteers
Saturday 27th April 2024 11:32pm
Forum: The Gambas IDE
Topic: Could we PLEASE get implemented the ability to store project on a mounted location?
Replies: 9
Views: 336

Re: Could we PLEASE get implemented the ability to store project on a mounted location?

You know we are not the gambas development team right?
We don't make gambas and can't do anything about what you are asking.

If you want gambas to do something different like show Network folders you should ask the main developer.
by BruceSteers
Saturday 27th April 2024 3:53pm
Forum: Beginners
Topic: icon move
Replies: 13
Views: 395

Re: icon move

Well technically a movie is not so much "moving images" as it is a series of still images shown in rapid succession. So no. I would not consider making/storing a ton of pictures with a ball in a different place to show as a movie. If i wanted to animate a ball moving on a background i woul...
by BruceSteers
Friday 26th April 2024 12:31pm
Forum: General
Topic: Converting UTC time
Replies: 6
Views: 116

Re: Converting UTC time

So something like this... to convert your "YYYY-MM-DD"T"HH:MM:SS"Z format.. gambas expects utc dates to be american format and time separated by a space. so to make it gambas compliant Date object we need to remove the T and Z and jumble the date values around to be like "mm...
by BruceSteers
Friday 26th April 2024 10:56am
Forum: General
Topic: Converting UTC time
Replies: 6
Views: 116

Re: Converting UTC time

and Format?
Format will convert local time from UTC

And if you need to show the timezone there is t or tt
https://gambaswiki.org/edit/cat/userformat#t4
by BruceSteers
Friday 26th April 2024 9:33am
Forum: General
Topic: Converting UTC time
Replies: 6
Views: 116

Re: Converting UTC time

See Format() command
https://gambaswiki.org/wiki/lang/format

Also see Date() command as you don't really want to be running shell timedatectl when gambas has built in date functions.
https://gambaswiki.org/wiki/lang/date

There is lots of info in the gambas help system. https://gambaswiki.org/wiki
by BruceSteers
Thursday 25th April 2024 11:02am
Forum: Beginners
Topic: Anyone using dot notation with strings?
Replies: 4
Views: 1352

Re: Anyone using dot notation with strings?

I guess it comes down to Len() being a built in function and String.Len() being in the "handler of utf-8 strings" String.class from gb.util With your logic then theoretically also Mid() and InStr(), etc would be expected to work UTF-8 strings too? But no I think it makes sense. As it stand...
by BruceSteers
Wednesday 24th April 2024 1:58pm
Forum: Beginners
Topic: icon move
Replies: 13
Views: 395

Re: icon move

I am using the Bicycle icon from stock but can not find the path to it. It says" icon:/32/bicycle" on PictureBox Picture column. Confused@Cliofuse :geek: It's Stock. Stock class uses a mix of the system icons and some built in gambas ones. the icon:/ path links internally to gb.form.stock...
by BruceSteers
Wednesday 24th April 2024 1:06pm
Forum: Beginners
Topic: icon move
Replies: 13
Views: 395

Re: icon move

Ok Thank you @BruceSteers So don't I need a Drawing Area over PictureBox then. Hope im not vague again .me a beginner :D No a PictureBox shows a picture that you create using paint methods. (you can also use Paint.Begin(PictureBox1.Picture to edit the picturebox's picture directly) Or you could use...
by BruceSteers
Wednesday 24th April 2024 1:10am
Forum: Beginners
Topic: icon move
Replies: 13
Views: 395

Re: icon move

'This is the code but not working :shock: ----------------------------------------------- ' Gambas class file ' This code assumes you have a form named "Form" with a PictureBox named "PictureBox1" representing the game board. ' Inside the PictureBox, you have a Label named "...
by BruceSteers
Tuesday 23rd April 2024 10:34pm
Forum: Beginners
Topic: icon move
Replies: 13
Views: 395

Re: icon move

Hmm you need to read the wiki on how to use Paint.class. that code is pretty far out. Ironically I wrote a snake game that uses a picture box last year. So you've come to the right place for help :D https://forum.gambas.one/viewtopic.php?t=1671 I'll have a look at you code later when I finish work 😎