Search found 141 matches

by Jacobus
Tue Dec 02, 2025 11:26 am
Forum: Applications - Feedback and Discussion
Topic: Xmas Scene Designer
Replies: 4
Views: 333

Re: Xmas Scene Designer

Hello _aNdy_, another great example of a fun program.
I do have a question about the images: are they all yours? Or are they royalty-free? What usage rights are granted for the software's images and those created with the software?
by Jacobus
Thu Nov 20, 2025 8:51 am
Forum: Applications - Feedback and Discussion
Topic: Xmas Tree Designer
Replies: 7
Views: 773

Re: Xmas Tree Designer

The simplest things are sometimes the best. I find the idea and the software very appealing; a great project for young children. 8)
Add a few more options, such as glitter garlands, electric lights, snowmen, and other decorative elements, and it will be even more fun.
Out of curiosity, I tried your ...
by Jacobus
Fri Oct 10, 2025 2:44 pm
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Re: Personalized information panel

Hello,
I've added a small option that allows you to move the panel/window with the mouse cursor positioned over the transparent edge and holding down the left mouse button.
The center panel automatically moves back to the center, which creates a nice effect... :)
Code updated in the first post.
by Jacobus
Wed Oct 08, 2025 3:05 pm
Forum: Coding Questions
Topic: Strange behavior of Editor with the WordWrap flag
Replies: 11
Views: 1236

Re: Strange behavior of Editor with the WordWrap flag

In this way, simply, it can't allow you to do what you want?
If OpenWindow(0, 0, 0, 322, 150, "Editor", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(1, 8, 8, 306, 133, #PB_Editor_WordWrap)

For a = 0 To 10 Step 2
Debug Str(a)
AddGadgetItem(1, a ...
by Jacobus
Wed Oct 08, 2025 9:53 am
Forum: Coding Questions
Topic: Strange behavior of Editor with the WordWrap flag
Replies: 11
Views: 1236

Re: Strange behavior of Editor with the WordWrap flag

Hello, Try with this version of the API. This works with PB 6.30B3
If OpenWindow(0, 0, 0, 322, 150, "Editor", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133,#PB_Editor_WordWrap)
SendMessage_(GadgetID(0), #EM_SETTARGETDEVICE, 0, Flag | 1)
For a = 0 To 5 ...
by Jacobus
Fri Oct 03, 2025 3:48 pm
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Re: Personalized information panel

I also prefer percentages; it's easier to understand, but I also like having a choice, which is why I think it's good to offer two options. Depending on each person's taste.

I didn't use .l, Everything is in interger and it works in 64-bit.

Good point about the hardcoded value in the procedure; it ...
by Jacobus
Wed Oct 01, 2025 6:20 pm
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Re: Personalized information panel

Yes indeed, old code in my archives but still functional. Thank you for your updated code, but your calculation changes the perception of transparency because it is based on the percentage. So this leaves us two possibilities to obtain transparency. We must adapt the value of "Visibility"
I modified ...
by Jacobus
Mon Sep 29, 2025 5:35 pm
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Re: Personalized information panel

Added a second timer to display a countdown before the panel closes in case the user prefers automatic closing rather than a button, and also to know how long the panel will be displayed.
Code updated in the first post.
by Jacobus
Mon Sep 29, 2025 1:38 pm
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Re: Personalized information panel

Hey, salut Denis! :D
Glad to know you're still active in the PB world.
Just a little tool for more fun and personal displays. :)
by Jacobus
Mon Sep 29, 2025 7:50 am
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Re: Personalized information panel

Thanks for the feedback :)
Moon phases in the northern hemisphere by PhM, in French for example : https://www.purebasic.fr/french/viewtopic.php?t=19408
https://wolforan.com/wolforansoftware/DevPBimg/Capture%20d%E2%80%99%C3%A9cran%202025-09-29%20083044.png

Small modification in the initial code ...
by Jacobus
Sun Sep 28, 2025 5:49 pm
Forum: Tricks 'n' Tips
Topic: Personalized information panel
Replies: 11
Views: 1633

Personalized information panel

Hello everyone,
I'm sharing my personal panel used to display information with my apps. This may be useful if you also want to display something, such as an appointment, a photo, important information, or even a simple error or warning message.
You can adapt it to your needs, your colors, and your ...
by Jacobus
Sun Aug 31, 2025 9:37 am
Forum: Tricks 'n' Tips
Topic: Tip: InputBox
Replies: 15
Views: 19233

Re: Tip: InputBox

A small modification to akj's code above.
I found this code simple and quick to use for a password query. Simple Add hide/show for a password requester and add an icon to the window.
Procedure.s InputBox(txtw, txth, title$, prompt$, def$="", flags=0)
; A version of InputRequester() by BackupUser ...
by Jacobus
Mon Jul 21, 2025 3:40 pm
Forum: Coding Questions
Topic: ExplorerTreeGadget() and GetGadgetItemText()
Replies: 18
Views: 1268

Re: ExplorerTreeGadget() and GetGadgetItemText()


Looks like the 2nd parameter of GetGadgetItemText() is an index to a list of items being displayed:

Indeed, with your method we do obtain an index number, but unfortunately as mk-soft pointed out, this number changes all the time as soon as you open a node and you end up with two identical ...
by Jacobus
Fri Jul 18, 2025 11:20 pm
Forum: Coding Questions
Topic: ExplorerTreeGadget() and GetGadgetItemText()
Replies: 18
Views: 1268

Re: ExplorerTreeGadget() and GetGadgetItemText()


I was talking about those Gadgets which allow more entries.
Here I see exactly one, where things are different.
Especially if you compare ExplorerList and ExplorerTree gadget.


This is exactly what is confusing. Especially since GetGadgetState() in ExplorerTreeGadget() must obtain the index of ...
by Jacobus
Fri Jul 18, 2025 2:01 pm
Forum: Coding Questions
Topic: ExplorerTreeGadget() and GetGadgetItemText()
Replies: 18
Views: 1268

Re: ExplorerTreeGadget() and GetGadgetItemText()


So there seems to be no PB way to identify the selected element. Which would be needed for the parameter Position in the GetGadgetItemText()
Furthermore, GetGadgetItemText() would only return the same result as GetGadgetText() .
From my point of view, the help should probably be corrected by ...