Search found 195 matches

by bill-lancaster
Friday 20th November 2020 5:05pm
Forum: General
Topic: Drawingarea drag&drop
Replies: 12
Views: 8415

Re: Drawingarea drag&drop

Thanks Cogier, Ill have a look at this, trouble is there is too much japanese knot weed!
by bill-lancaster
Friday 20th November 2020 8:40am
Forum: General
Topic: Drawingarea drag&drop
Replies: 12
Views: 8415

Re: Drawingarea drag&drop

And thanks for the thought Bruce, that's roughly what I was doing, I just had this foolish notion of making it more 'fancy' with a drag&drop effect!
by bill-lancaster
Friday 20th November 2020 8:37am
Forum: General
Topic: Drawingarea drag&drop
Replies: 12
Views: 8415

Re: Drawingarea drag&drop

The full project is a horticultural/gardening database. The drawingarea represents a bed and the gridview a list of plant/shrub names. In fact there's more than one gridview with names. When the item is dropped, the database gets the coordinates for that item so we know what each circle represents. ...
by bill-lancaster
Thursday 19th November 2020 1:51pm
Forum: General
Topic: Drawingarea drag&drop
Replies: 12
Views: 8415

Re: Picturebox drag&drop

This code shows the problem. An item selected from the gridview and dropped in the drawingarea draws the circle in the wrong place ' Gambas class file v3.15.2 Private Const MIME_TYPE As String = "text/x-gambas-dragndrop-example" Private iMouseX As Integer Private iMouseY As Integer Public ...
by bill-lancaster
Thursday 19th November 2020 1:22pm
Forum: General
Topic: Drawingarea drag&drop
Replies: 12
Views: 8415

Re: Picturebox drag&drop

Thanks, yes, tracking and drop set to true.
I'm making a small project to better show the problem.
by bill-lancaster
Thursday 19th November 2020 10:26am
Forum: General
Topic: Drawingarea drag&drop
Replies: 12
Views: 8415

Drawingarea drag&drop

I wish to drag an item from a gridview to a picturebox. At the position of the 'drop' in the picturebox a circle is to be drawn at that point. My problem is that with the drop event in the picturebox I can't get the x & y position in the picturebox.. It seems that when the mouse drag enters the ...
by bill-lancaster
Saturday 26th September 2020 4:31pm
Forum: General
Topic: mysql checksum
Replies: 2
Views: 2900

Re: mysql checksum

Thanks a lot Mathew, I'd misspelt the table name!
All is fine,
Thanks again
by bill-lancaster
Saturday 26th September 2020 9:07am
Forum: General
Topic: mysql checksum
Replies: 2
Views: 2900

mysql checksum

I want to check if a record has changed in a myslq database. I'm interested only in changes made while the record is displayed.
I can do:

Code: Select all

hResult = hConn.Exec("CHECKSUM TABLE test")
but hResult!checksum is null.
Any advice would be welcome
by bill-lancaster
Sunday 20th September 2020 9:48am
Forum: General
Topic: problem with SHELL
Replies: 8
Views: 6457

Re: problem with SHELL

cogier's programme didn't work first time because, stupidly, I hadn't installed exiftool! Thanks also for suggesting the use of WAIT. I still get a null string when using ffprobe or ffmpeg. If I print the shell command, copy it and run it in console it works. Doesn't make sense. Anyway, exiftool doe...
by bill-lancaster
Saturday 19th September 2020 6:37pm
Forum: General
Topic: problem with SHELL
Replies: 8
Views: 6457

Re: problem with SHELL

Thank you for the excellent code but it doesn't work for me. There is something strange with my system. The line:- Shell "exiftool " & User.Home &/ "Music/recordings" &/ "'" & GridViewTracks[Last.Row, 0].text & "'" To sData yields an empty ...