Search found 54 matches

by sjsepan
Sunday 26th April 2020 3:04pm
Forum: Component
Topic: Drop & Drag within a Treeview
Replies: 6
Views: 1782

Re: Drop & Drag within a Treeview

OK, never used it yet myself, and after trying, I was starting to come to the conclusion that Drag/Drop would work between controls (like you did with the listboxes), but not within one treeview control. I just could not see a way to get the destination item. Anyway, I had to admit defeat. Hope you ...
by sjsepan
Friday 24th April 2020 3:41pm
Forum: Component
Topic: Drop & Drag within a Treeview
Replies: 6
Views: 1782

Re: Drop & Drag within a Treeview

Just so that I understand, you indicated initially that the Drop event did not seem to be firing, right? The problem is that the Drop event does not seem to be activating for the treeview ? I do see what looks like a Drop event activation, in the 3rd event in the sequence caused by dragging item20 o...
by sjsepan
Thursday 23rd April 2020 2:20pm
Forum: Component
Topic: Drop & Drag within a Treeview
Replies: 6
Views: 1782

Re: Drop & Drag within a Treeview

Quin, Started to take a look at this today. In order to see what events are firing and in what sequence, I made some mods to part of the code; using the event name so my slow brain can pick out the info easier, and outputting the sequence to the Console window so I can see the history of the events:...
by sjsepan
Tuesday 28th January 2020 1:12pm
Forum: General
Topic: A Dirty Guide to OOP #1
Replies: 16
Views: 2419

Re: A Dirty Guide to OOP #1

BTW, the syntax you may need probably looks like... Thanks Steve, I have now updated the post with this syntax. I tried to download your project but it is missing the library: GambasAppUtilityLib ...which I think you will find in your: /usr/lib/Gambas3/stephensepan directory That project is also ou...
by sjsepan
Monday 27th January 2020 8:33pm
Forum: General
Topic: A Dirty Guide to OOP #1
Replies: 16
Views: 2419

Re: A Dirty Guide to OOP #1

Hi SteveD, Like the guide so far. BTW, the syntax you may need probably looks like... ' Gambas class file Class clsVeggie Inherits clsFruit ...because that's how I got my Dock and Anchor classes to inherit from DockAnchorBase in my DockAnchor library. SteveS https://github.com/ssepan2/DockAnchor ___...
by sjsepan
Saturday 18th January 2020 11:09pm
Forum: Project showcase
Topic: Plotting GPS tracks with gb.Map
Replies: 1
Views: 879

Re: Plotting GPS tracks with gb.Map

Nice ... Thanks!
by sjsepan
Tuesday 14th January 2020 8:28pm
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 1914

Re: Does anyone understand the gb.Map component?

SteveDee, The exclamation point (! or 'bang') looks like a dictionary access operator that I used to see in VB/VBA. https://social.msdn.microsoft.com/Forums/en-US/1393df69-929e-49c6-93b0-5cb0fa7a6430/what-is-a-operator https://stackoverflow.com/questions/6841275/what-does-this-mean-in-the-specific-l...
by sjsepan
Sunday 15th December 2019 11:16pm
Forum: General
Topic: Gambas sqlite
Replies: 7
Views: 1846

Re: Gambas sqlite

Good path tips, Thanks! This is how I set up my sqlite databases. (This is from my event reminder app.) If I need to have the db in a NFS location, I can easily change the sBaseDir string variable and drop the "User.Home &/" from the xxxPath string variables. When creating a new db app, I just copy ...
by sjsepan
Saturday 14th December 2019 5:49pm
Forum: General
Topic: Gambas sqlite
Replies: 7
Views: 1846

Re: Gambas sqlite

Agreed, that is how I've always though of host. Perhaps, since this is a server-less (or in their words 'engine-less file-based') database, they felt they needed to re-purpose the Host property. Anyway, here is the help for SQLite, where they are even suggesting 'Application.path' for the value: htt...
by sjsepan
Friday 13th December 2019 8:04pm
Forum: General
Topic: Gambas sqlite
Replies: 7
Views: 1846

Re: Gambas sqlite

I tried this out today too, since I'm finally looking at db access in Gambas. Trying the code as is (with my own project and database paths) I got the equivalent of the following error (I say equivalent because I have edited it to show what it would look like with the path information from the examp...