Search found 887 matches

by BruceSteers
Wednesday 21st September 2022 4:08pm
Forum: General
Topic: Convert FreeBASIC code to Gambas stuck
Replies: 4
Views: 84

Re: Convert FreeBASIC code to Gambas stuck

I dunno looks like fairly simple file handling routines. But freebasic uses Loc for the recent handle you will just have to use stream functions on the com port stream explicitly. One command looked like a simple While not EOF(hStream) Another waits for the port to become open. This is not "having t...
by BruceSteers
Wednesday 21st September 2022 1:22pm
Forum: General
Topic: Convert FreeBASIC code to Gambas stuck
Replies: 4
Views: 84

Re: Convert FreeBASIC code to Gambas stuck

You are missing a function called Loc()

Either find it in the original freebasic code or if it's a freebasic built in function find what it does and emulate it.
by BruceSteers
Monday 19th September 2022 2:03pm
Forum: Project showcase
Topic: Simple Temp monitor example using LCDLabel
Replies: 2
Views: 2671

Re: Simple Temp monitor example using LCDLabel

updated this to auto-detect temp reading and resize window is possible.
by BruceSteers
Monday 19th September 2022 1:44pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 20
Views: 5491

Re: a Gambas recent files Lister (TrayIcon)

Couple of updates... Added an opacity setting option There was a glitch or 2 in the new search box, it now refreshes grid properly and only uses filenames not paths in the search Also now window can be resized and moved without the title bar visible by clicking bottom right to resize and between the...
by BruceSteers
Saturday 17th September 2022 7:09am
Forum: General
Topic: Music controls
Replies: 7
Views: 330

Re: Music controls

Here's a simple way :)
xdotool key XF86AudioRaiseVolume
xdotool key XF86AudioLowerVolume
xdotool key XF86AudioMute
by BruceSteers
Thursday 15th September 2022 12:17pm
Forum: General
Topic: Help or advise on this issues
Replies: 1
Views: 76

Re: Help or advise on this issues

I would make a class to manage an array of transactions and then process/send the finished list when ready I've added a basic example. It has a Transaction.class that used statically can add/void items with I or IV , i made it to use your string but you could use natural datatypes or anything else y...
by BruceSteers
Thursday 15th September 2022 9:13am
Forum: Component
Topic: Help with gb.report2
Replies: 5
Views: 134

Re: Help with gb.report2

by BruceSteers
Thursday 15th September 2022 9:10am
Forum: Component
Topic: Help with gb.report2
Replies: 5
Views: 134

Re: Help with gb.report2

HBox ?? do you mean ReportHBox ?

If you look here (the docs you seek)...
http://gambaswiki.org/wiki/comp/gb.report2

there are many Report2 controls/containers listed and you have to use them instead of normal gambas ones.

Or are you already using the ReportHBox ?
by BruceSteers
Monday 12th September 2022 12:12am
Forum: General
Topic: Task issue
Replies: 3
Views: 104

Re: Task issue

Note:
Using..
hProc = Exec ["youtube-dl", sUrl] For Input Output As "Process"

(with Input) it gave an error but it was the same error i got when the Shell command ran in Form_Open() in FMain startup so with Input Output it worked the same.