Search found 1106 matches

by cogier
Friday 19th August 2022 3:45pm
Forum: General
Topic: Music controls
Replies: 7
Views: 1246

Music controls

If I go to YouTube in Chrome and play a song, a player control is available in the system tray.

Image

I would like to access this from within Gambas.

Has anybody got any idea how to do this.

Linux Mint 20.3 Cinnamon Desktop
by cogier
Tuesday 16th August 2022 9:43am
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 26
Views: 20501

Re: a Gambas recent files Lister (TrayIcon)

Hi Bruce,

Yes, that has fixed the [Alt]+[Tab] issue, thanks.

I clicked the option to change the setting to not show the file path and although this worked I got an error:-

Image
by cogier
Saturday 13th August 2022 4:36pm
Forum: General
Topic: format, cfloat, math operations
Replies: 4
Views: 1106

Re: format, cfloat, math operations

The other caution I would suggest is that you NOT use a float variable to store and handle currency ... it will lead to trouble, I usually use a string or integer to store currency.
I have to agree with this. I always store currency as an integer, much safer.
by cogier
Saturday 13th August 2022 9:37am
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 26
Views: 20501

Re: a Gambas recent files Lister (TrayIcon)

Is there a way to hide the program showing on the task changer?

Image
by cogier
Thursday 11th August 2022 1:31pm
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 16
Views: 18062

Re: Gambas + PIGPIO + I2C + ADS1115 A/D Chip

I REALLY need to read this ADS1115 chip. I am not really qualified to answer this, as I don't even know what a sADS1115 chip is. However, my thoughts are that any library for Python is probably written in C or C#. If this is the case, then Gambas should be able to access it. The Gambas help for thi...
by cogier
Saturday 6th August 2022 2:23pm
Forum: General
Topic: Graphic component like form in IDE
Replies: 3
Views: 991

Re: Graphic component like form in IDE

I dug out an old piece of 'Drag & Drop' code and put it on the Gambas Farm and below. I hope it helps.
Image
by cogier
Saturday 6th August 2022 1:33pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 26
Views: 20501

Re: a Gambas recent files Lister (TrayIcon)

Yes, that works well. I use Linux Mint Cinnamon and discovered that the autostart feature needs a delay or else the GLaunch icon appears on the desktop and not in the system tray. My glaunch.gambas.desktop file now looks like this: - [Desktop Entry] Type=Application Exec=/home/charlie/Dropbox/gambas...
by cogier
Thursday 4th August 2022 4:03pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 26
Views: 20501

Re: a Gambas recent files Lister (TrayIcon)

I like this little program. It is now installed it on my Linux Mint Cinnamon system without issue. I noticed that the 'Show toolbar' option still says 'Show toolbar' when the toolbar is showing! There is an unused variable $List (Line 12 fList.class) I found the listings with ' /here/there/and_down_...
by cogier
Saturday 30th July 2022 8:44am
Forum: General
Topic: Fonts not displaying correctly
Replies: 6
Views: 1127

Re: Fonts not displaying correctly

From what you say, you need to check that the new font is installed correctly. Can you use it in another program? I needed to log out and back in to finish the font installation.
by cogier
Friday 29th July 2022 3:11pm
Forum: General
Topic: Advise on httpClient
Replies: 2
Views: 716

Re: Advise on httpClient

What does the URL start with? If it is sftp you may need to shell to Curl as I can't get Gambas to handle secure sites. If so, try something like this: - Shell "curl -k 'sftp://MySite.com/File.json' --user 'MyUserName:MyPassword' -o " & User.Home &/ File.json Wait This will get the...