Search found 190 matches

by cogier
Thursday 10th May 2018 7:37pm
Forum: General
Topic: Highlight next file in list after deletion
Replies: 7
Views: 495

Re: Highlight next file in list after deletion

OK I missed the point, sorry. :cry:

I have had another go and spent some time, while cooking the evening meal, reducing the code. This is about as tight as I can make it.

Here is the video http://www.cogier.com/stevedee/stevedee1.webm

Here is the program
HighLightNextFile.tar.gz
(14.44 KiB) Downloaded 30 times
by cogier
Thursday 10th May 2018 1:35pm
Forum: General
Topic: Highlight next file in list after deletion
Replies: 7
Views: 495

Re: Highlight next file in list after deletion

Hi Steve, I tried my program again without issue, the next file is selected and the program closes without any errors. See here http://www.cogier.com/stevedee/stevedee-20180510-1.webm . I'm using Linux Mint 18.3 with the Cinnamon desktop and Gambas 3.10 Or did I miss the point due to being so old? :?
by cogier
Wednesday 09th May 2018 3:43pm
Forum: General
Topic: Highlight next file in list after deletion
Replies: 7
Views: 495

Re: Highlight next file in list after deletion

I think you can simplify some of your code by storing the list of files in a string sFileList = Dir(sFolder).Sort() Then highlight the first file in the string FileChooser1.SelectedPath = sFolder &/ sFileList[0] You can delete any file then you can repeat the same as above. This way there is no need...
by cogier
Wednesday 09th May 2018 1:58pm
Forum: General
Topic: ListView.Editable, how does it work?
Replies: 2
Views: 283

Re: ListView.Editable, how does it work?

Hi computermouth and welcome to the forum. I had a look at this issue and discovered that you can edit a list item by pressing the [F2] key. If you want to be able to edit by clicking on a list item you need a routine to catch the click event. Put the code below in 'Graphical application' and run it...
by cogier
Friday 27th April 2018 7:23am
Forum: Lounge
Topic: Ubuntu 18.04
Replies: 0
Views: 183

Ubuntu 18.04

Ubuntu 18.04 does not have Gambas in its repository!
by cogier
Monday 09th April 2018 6:55pm
Forum: General
Topic: DrawingArea help needed
Replies: 8
Views: 616

Re: DrawingArea help needed

Unfortunately it doesn't tell you how to print the contents of a DrawingArea.
by cogier
Monday 09th April 2018 4:17pm
Forum: General
Topic: DrawingArea help needed
Replies: 8
Views: 616

Re: DrawingArea help needed

Have a look at the attached example that draws and clears a DrawingArea.

Have a look at ChartExample in the Gambas Farm, that uses a DrawingArea but no drawing is needed.

I'm not sure about printing yet!

Let us know how you get on.
Drawing.tar.gz
(12.92 KiB) Downloaded 38 times
by cogier
Monday 02nd April 2018 4:39pm
Forum: General
Topic: img2key
Replies: 3
Views: 419

Re: img2key

That's a very professional video!
by cogier
Thursday 22nd March 2018 4:53pm
Forum: Web
Topic: Playground
Replies: 2
Views: 703

Re: Playground

Now the 'GIST' has stopped working! https://gambas-playground.proko.eu/
by cogier
Friday 16th March 2018 12:54pm
Forum: General
Topic: Individual color values of a pixel?
Replies: 8
Views: 986

Re: Individual color values of a pixel?

I had a go at this as well and came up with the attached program
Image_colour.png
Image_colour.png (21.21 KiB) Viewed 971 times
Image_colour.tar.gz
(17.73 KiB) Downloaded 45 times
Let us know how you get on.