Search found 1578 matches

by BruceSteers
Sunday 5th May 2024 5:54pm
Forum: Beginners
Topic: How do I write multiple statements on a single line?
Replies: 1
Views: 16

Re: How do I write multiple statements on a single line?

It's not possible I'm afraid.

But doing something like that nine times can often be turned into a function or done in a loop.
by BruceSteers
Sunday 5th May 2024 9:56am
Forum: Project showcase
Topic: Manic Minutes
Replies: 3
Views: 2585

Re: Manic Minutes

Cool :)

How long does it take to create something like that?

I remember back in the day I made an animation using a cine camera and plasticine.
hours of time consuming work for what seems like way too short a clip after all the time spent but that's animation i guess.
by BruceSteers
Wednesday 1st May 2024 5:38pm
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 8
Views: 2845

Re: Germinal - a terminal with some potential

Latest update includes.... [*] TrimLF option with scripts, ensures the command does not have a trailing LF and converts any other lf to ; [*] handle root (i think) prompt detection did not work if root (ie, sudo su) , now it handles it. How prompt detection works... if not root the prompt line PS1 i...
by BruceSteers
Tuesday 30th April 2024 7:46pm
Forum: Beginners
Topic: Get X,Y coordinates from inside the DrawingArea
Replies: 4
Views: 125

Re: Get X,Y coordinates from inside the DrawingArea

Ps.
I know you didn't need it but in that first example it would be easier to do this...

Public Sub DrawingArea1_MouseDown()

  Dim da As DrawingArea = Last

End


In any Event the Last keyword points to the calling object.
so in a drawingarea mousedown event Last is the drawingarea
by BruceSteers
Tuesday 30th April 2024 7:31pm
Forum: Beginners
Topic: Get X,Y coordinates from inside the DrawingArea
Replies: 4
Views: 125

Re: Get X,Y coordinates from inside the DrawingArea

Nevermind. I figured it out. No need to use DrawingArea object. Just need to get Mouse.X, Mouse.Y Public Sub DrawingArea1_MouseDown() Print Mouse.X & "," & Mouse.Y End You got it. for any control Mouse event like MouseDown / MouseMove, Mouse.X and Mouse.Y are relative to the contr...
by BruceSteers
Tuesday 30th April 2024 5:09pm
Forum: The Gambas IDE
Topic: Wayland and gambas
Replies: 4
Views: 157

Re: Wayland and gambas

Does this mean you can't control items within your program, or you can't control where the program is displayed on the screen, or both? It applies to all "top-level" forms i think. from what i can tell it's all about the compositor, i don't fully understand but wayland seems super paranoi...
by BruceSteers
Tuesday 30th April 2024 1:02am
Forum: General
Topic: Live video feed?
Replies: 6
Views: 429

Re: Live video feed?

gb.media is basically a gstreamer interface so can do what gst can do.

I not the one who can answer though i have little experience with MediaPlayer and none with live feeds.

Others may be able to help though.
by BruceSteers
Monday 29th April 2024 7:02pm
Forum: The Gambas IDE
Topic: Wayland and gambas
Replies: 4
Views: 157

Wayland and gambas

I recently asked some questions on the wayland development mailing list about gambas and positioning windows amongst the other issues. Here is a copy of the reply... What it basically says... We will NEVER be able to position our windows using Form.X or From.Y or From.Move or Settings.Read() etc in ...
by BruceSteers
Monday 29th April 2024 9:00am
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 8
Views: 2845

Re: Germinal - a terminal with some potential

Finally got custom commands working. It's a bit complex. From the readme... Making custom commands... You can create commands to manipulate/edit the current command line. Commands are made of sequences of either scripts or key commands. Select the custom command editor from the menu to open the edit...
by BruceSteers
Sunday 28th April 2024 10:09am
Forum: General
Topic: Converting UTC time
Replies: 9
Views: 304

Re: Converting UTC time

Thanks for all replies! I just wanted to get the timezone offset so that I could adjust the hour parameter in the Date-function to reflect my local timezone. Here is the code snippet that I finally ended up with: Dim tDate As String = Format$(Now, "yyyy-mm-ddThh:nn:sstt") Dim sDate As Str...