Search found 897 matches

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

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 sore 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: 13
Views: 4411

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: 13
Views: 6000

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: 78

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: 13
Views: 4411

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: 13
Views: 4411

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: 155

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: 95

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 File.json from th...
by cogier
Friday 29th July 2022 2:57pm
Forum: General
Topic: Fonts not displaying correctly
Replies: 6
Views: 155

Re: Fonts not displaying correctly

You have to apply the font to the Property of the Label, Button etc.

Image

And then: -

Image
test-0.1.tar.gz
(12.09 KiB) Downloaded 5 times
by cogier
Thursday 28th July 2022 2:57pm
Forum: General
Topic: Fonts not displaying correctly
Replies: 6
Views: 155

Re: Fonts not displaying correctly

Can you post your program and a link to the 'new' font so we can try it for ourselves.