Search found 275 matches

by cogier
Wednesday 12th June 2019 1:53pm
Forum: General
Topic: Shell "my_script.sh" To Label1.Text doesn't work any more
Replies: 2
Views: 35

Re: Shell "my_script.sh" To Label1.Text doesn't work any more

Hi abbat81 and welcome to the forum

I tried
Shell "ls" To TextArea1.Text
It worked OK

What does my_script.sh do? Are you aware that support has run out for Ubuntu 14.04?
by cogier
Thursday 06th June 2019 2:42pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 175

Re: Local Noon Clock

I have made the Longitude and Latitude selection easier. The picture above has been updated as today shows: -

Image

This is using the figures collected automatically.
LocalNoonClock.tar.gz
(86.08 KiB) Downloaded 7 times
by cogier
Thursday 06th June 2019 1:11pm
Forum: General
Topic: Dialog save file
Replies: 7
Views: 141

Re: Dialog save file

As you want to use 'gtk' the only way I could find to do what you want is to use a FileChooser. Have a look at the attached code which is similar to the code I posted above. I hope it helps.
SaveFile.tar.gz
(13.28 KiB) Downloaded 4 times
by cogier
Wednesday 05th June 2019 4:17pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 175

Re: Local Noon Clock

Is that better, I got the numbers the wrong way round!
by cogier
Wednesday 05th June 2019 2:53pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 175

Re: Local Noon Clock

That was a genuine wow :o moment when I ran your code. Very interesting, have you got a degree in maths? I thought I would play around with the code so I have: - ESC now toggles between full screen and not The font now changes size depending on the size of the form Slight change to the LCD display R...
by cogier
Friday 31st May 2019 3:20pm
Forum: General
Topic: FYI Gambas working A-1 on Chromebook
Replies: 4
Views: 116

Re: FYI Gambas working A-1 on Chromebook

Hi CJ-V and welcome to the forum. If you can let me (Charlie) have the details of how to install Gambas on a Chromebook I would be happy to post it on Gambas one home page here . Send it to admin AT Gambas DOT one. The main tips for someone from a VB background are: - Arrays use [ ] not ( ) brackets...
by cogier
Tuesday 28th May 2019 2:55pm
Forum: General
Topic: Dialog save file
Replies: 7
Views: 141

Re: Dialog save file

Further investigation discovered that the Dialog.Path works as required using gb.qt.gui but not if using gb.gui in a GTK desktop (Linux Mint 19.1 Cinnamon).

Now why is that?
by cogier
Tuesday 28th May 2019 1:43pm
Forum: Web
Topic: HTML-Editor
Replies: 3
Views: 107

Re: HTML-Editor

Check out the Farm https://gambas.one/gambasfarm/ for HTEdit. I have not done anything with it but the basics are there.

Image
by cogier
Tuesday 28th May 2019 1:30pm
Forum: General
Topic: Dialog save file
Replies: 7
Views: 141

Re: Dialog save file

I had a look at this but it seems that the Dialogue wont let you do this. However you can do it with a FileChooser. Have a look at the attached code.

Image
File_Save.tar.gz
(79.37 KiB) Downloaded 8 times
by cogier
Sunday 26th May 2019 3:34pm
Forum: General
Topic: GridView
Replies: 8
Views: 190

Re: GridView

I have been playing with this today. Have a look at the attached code and see if you can make sense of it.

Image
Test2.tar.gz
(70.04 KiB) Downloaded 11 times