Here is the latest update (December 8, 2025) to My Bookmark Manager. Improvements are:
There is now a right click pop-up menu for the items in the Tree Gadget.
Deleting an item no longer causes the Tree Gadget to be refreshed, and lose the current position.
There is now a simple drag and ...
Search found 25 matches
- Sun Dec 07, 2025 9:57 pm
- Forum: General Discussion
- Topic: My (Simple) Bookmark Manager
- Replies: 12
- Views: 1215
- Sun Dec 07, 2025 9:47 pm
- Forum: Coding Questions
- Topic: Question about Drag and Drop Events
- Replies: 6
- Views: 278
Re: Question about Drag and Drop Events
So, your question is, why not just add a corresponding drop event-type to d&d-enabled gadgets, like #PB_EventType_Drop ?
Firstly, the drag and drop functionality is meant to be system-wide, meaning that any d&d-enabled element should be able to have its content dragged from it, or allow external ...
- Sun Dec 07, 2025 5:41 am
- Forum: Coding Questions
- Topic: Question about Drag and Drop Events
- Replies: 6
- Views: 278
Re: Question about Drag and Drop Events
it's a window event to say that a gadget got a drop event.
That sort of clears it up. Using this terminology what I was wondering is why #PB_Event_GadgetDrop is a Windows event, and not a Gadget event?
I was expecting a sort of "symmetry" where all the drag and drop events would be at the same ...
- Sun Dec 07, 2025 2:38 am
- Forum: Coding Questions
- Topic: Question about Drag and Drop Events
- Replies: 6
- Views: 278
Question about Drag and Drop Events
I am working on using drag and drop to move a bookmark into a different folder in My Bookmark Manager . I am making progress, but while examining the DragDrop.pb example, I wonder something.
Is there a specific reason (that I don't yet have understanding for) about how the #PB_Event_GadgetDrop ...
Is there a specific reason (that I don't yet have understanding for) about how the #PB_Event_GadgetDrop ...
- Fri Dec 05, 2025 6:02 am
- Forum: General Discussion
- Topic: My First Post - Hello
- Replies: 18
- Views: 883
Re: My First Post - Hello
Writing the windows and gadgets by hand looks pretty formidable to me.
From one newish PureBasic user to another, I have been using the built-in Form Designer with success and think it is better than having to figure out the position and size of on screen stuff by hand. The way the Form ...
- Sun Nov 30, 2025 10:48 pm
- Forum: General Discussion
- Topic: PB Discord Link
- Replies: 12
- Views: 784
Re: PB Discord Link
I am an Affinity (an Adobe alternative) user, and they recently shut down the forums, and directed everybody to start using their new official discord server. It's a mess.
I love discord and think it's great for many types of content and communities, but as a substitute for a support forum, the ...
I love discord and think it's great for many types of content and communities, but as a substitute for a support forum, the ...
- Fri Nov 28, 2025 10:00 am
- Forum: General Discussion
- Topic: My (Simple) Bookmark Manager
- Replies: 12
- Views: 1215
Re: My (Simple) Bookmark Manager
Here is the latest source to My Bookmark Manager. Improvements are:
The toolbar icons are now included in the executable and do not need to be in separate files. To do this, I had to copy the lines generated by the Form Designer for the Toolbar into my own code because I don't think the Form ...
The toolbar icons are now included in the executable and do not need to be in separate files. To do this, I had to copy the lines generated by the Form Designer for the Toolbar into my own code because I don't think the Form ...
- Fri Nov 28, 2025 9:52 am
- Forum: General Discussion
- Topic: My (Simple) Bookmark Manager
- Replies: 12
- Views: 1215
Re: My (Simple) Bookmark Manager
Have used the CatchImage with success.
- Fri Nov 14, 2025 8:07 am
- Forum: General Discussion
- Topic: My (Simple) Bookmark Manager
- Replies: 12
- Views: 1215
Re: My (Simple) Bookmark Manager
Thank you for the positive feedback. I have lost track of the countless hours reading and re-reading the manual, lurking on and searching the forums, and slowly understanding the samples. Hoping to get it right, (or just good enough.)
Will add the CatchImage method (which looks very clever, and I ...
Will add the CatchImage method (which looks very clever, and I ...
- Thu Nov 13, 2025 7:52 am
- Forum: General Discussion
- Topic: My (Simple) Bookmark Manager
- Replies: 12
- Views: 1215
My (Simple) Bookmark Manager
This is my first utility in PureBasic written from scratch with multiple windows (my previous experiments have been basic ). It was an exercise in learning more about PureBasic and the IDE. It's a simple (no drag and drop) bookmark manager that is specifically designed to import and work with ...
- Wed Nov 12, 2025 10:15 am
- Forum: Coding Questions
- Topic: How to update UI gadgets inside a procedure
- Replies: 13
- Views: 899
Re: How to update UI gadgets inside a procedure
Understood!
- Wed Nov 12, 2025 3:25 am
- Forum: Coding Questions
- Topic: How to update UI gadgets inside a procedure
- Replies: 13
- Views: 899
Re: How to update UI gadgets inside a procedure
Okay, I confess I didn't try to run @infratec example, and if I had, what is does might have been more obvious, (and hopefully I would have examined the code more carefully).
For now I am happy with this trick.
While WindowEvent() : Wend
No, I have not used threads before, and I come from using ...
For now I am happy with this trick.
While WindowEvent() : Wend
No, I have not used threads before, and I come from using ...
- Tue Nov 11, 2025 8:59 pm
- Forum: Coding Questions
- Topic: How to update UI gadgets inside a procedure
- Replies: 13
- Views: 899
Re: How to update UI gadgets inside a procedure
;more code
Procedure on_takeslongtime(*Dummy)
Protected.i index
PostEvent(#CustomEvent_ShowGadgetText, 0, 0, #PB_EventType_Change, @"Please wait while this takes a long time...")
For index = 0 To 100000
PostEvent(#CustomEvent_ShowGadgetInteger, 0, 1, #PB_EventType_Change, index ...
- Tue Nov 11, 2025 9:29 am
- Forum: Coding Questions
- Topic: How to update UI gadgets inside a procedure
- Replies: 13
- Views: 899
Re: How to update UI gadgets inside a procedure
All UI stuff should be handled in the (one and only) Event loop.
If you want to do stuff from a procedure you should use PostEvent().
If your procedure takes longer ... this procedure should be an own thread to avoid blocking of the program,
which is a bad user experience.
I have no reason to ...
- Tue Nov 11, 2025 1:44 am
- Forum: Coding Questions
- Topic: How to update UI gadgets inside a procedure
- Replies: 13
- Views: 899
Re: How to update UI gadgets inside a procedure
Easy answer: You can add this in the loop.
While WindowEvent() : Wend
Important Note:
You remove events from the System-Message-Loop. So any action on your app are lost.
Thank you for the tips and link. Changing the lines to these works exactly as I hoped.
Procedure on_takeslongtime ...