I tested it, great!
About the window thing: I think #PB_Default is better since this is the color every open window starts. Or you could put a note into the introduction.
About the SpinEdit: Would it be possible to check whether the SpinEdit is enabled while apllying the theme. Maybe you can enable ...
Search found 1982 matches
- Thu Mar 12, 2026 8:46 pm
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
- Thu Mar 12, 2026 12:53 pm
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
Re: Object Theme Library (for Dark or Light Theme)
Thanks Chris, I'll try this.
- Wed Mar 11, 2026 6:54 am
- Forum: General Discussion
- Topic: What IF PB Demo users... ?
- Replies: 12
- Views: 604
Re: What IF PB Demo users... ?
YOU are experienced and YOU understand the code.
I imply that SOME new users just take it as it is or just take a quick look at it. Run it, it works, fine. But maybe won't always run...
I imply that SOME new users just take it as it is or just take a quick look at it. Run it, it works, fine. But maybe won't always run...
- Tue Mar 10, 2026 9:22 pm
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
Re: Object Theme Library (for Dark or Light Theme)
Ok, so I experimented a bit more. Trying the monowindows-stuff next.
What I found out:
- SetObjectTheme(#PB_Default) works very well. Just the window background is white, not reset to the default color. Is this normal? My fault?
- Also I have one SpinEdit within a frame which does not work when ...
What I found out:
- SetObjectTheme(#PB_Default) works very well. Just the window background is white, not reset to the default color. Is this normal? My fault?
- Also I have one SpinEdit within a frame which does not work when ...
- Sun Mar 08, 2026 1:10 pm
- Forum: Tricks 'n' Tips
- Topic: Tree gadget Select all,Deselect all,Collapse all,Expand all
- Replies: 7
- Views: 4948
Re: Tree gadget Select all,Deselect all,Collapse all,Expand all
Hi BarryG
Next the most simple one
Coded by Inner
Modified by RASHAD
Procedure TreeViewExpandAll(Gadget.l)
hwndTV.l = GadgetID(Gadget)
hRoot.l = SendMessage_(hwndTV, #TVM_GETNEXTITEM, #TVGN_ROOT, 0)
hItem.l = hRoot
Repeat
SendMessage_(hwndTV, #TVM_EXPAND, #TVE_EXPAND, hItem)
hItem ...
- Sat Mar 07, 2026 8:26 am
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
Re: Object Theme Library (for Dark or Light Theme)
And I don't even use images. :?
I guess with every additional program using the library it gets better until finally everything will (this will be the day when Microsoft decides to change something, so nothing wil work anymore).
@ChrisR: Another thing I found is that when I open a new window, it ...
I guess with every additional program using the library it gets better until finally everything will (this will be the day when Microsoft decides to change something, so nothing wil work anymore).
@ChrisR: Another thing I found is that when I open a new window, it ...
- Sat Mar 07, 2026 7:56 am
- Forum: Off Topic
- Topic: Please fix this annoyingly slow forum
- Replies: 70
- Views: 5170
Re: Please fix this annoyingly slow forum
This picture is leaving out the elephants and the turtle.
- Sat Mar 07, 2026 7:55 am
- Forum: Coding Questions
- Topic: First custom event
- Replies: 19
- Views: 523
Re: First custom event
Exactly what the error message says: your value is too high.
The event is for events, you are using it for shortcuts. There are no reserved shortcuts, so just start your enumeration at 0 or 1.
The event is for events, you are using it for shortcuts. There are no reserved shortcuts, so just start your enumeration at 0 or 1.
- Fri Mar 06, 2026 7:32 pm
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
Re: Object Theme Library (for Dark or Light Theme)
Thanks ChrisR! I'll try this out.
In the meantime I found some more...things: A deactivated ComboBoxGadget is painted in standard colors. Also, disabled SpinEdit too. Even if the SpinEdit is reactivated it isn't painted correctly. But I'm not sure sure, whether it's my fault or not.
Edit: Ignore ...
In the meantime I found some more...things: A deactivated ComboBoxGadget is painted in standard colors. Also, disabled SpinEdit too. Even if the SpinEdit is reactivated it isn't painted correctly. But I'm not sure sure, whether it's my fault or not.
Edit: Ignore ...
- Thu Mar 05, 2026 3:04 pm
- Forum: General Discussion
- Topic: What IF PB Demo users... ?
- Replies: 12
- Views: 604
Re: What IF PB Demo users... ?
This doesn't seem like the right subforum. I'd say, General Discussion would be more suiting.
However, I too think the examples in the help are already enough. More and especially more complex codes could lead to people try things too quickly, before understanding what the code does. Leading to ...
However, I too think the examples in the help are already enough. More and especially more complex codes could lead to people try things too quickly, before understanding what the code does. Leading to ...
- Thu Mar 05, 2026 6:40 am
- Forum: Off Topic
- Topic: Please fix this annoyingly slow forum
- Replies: 70
- Views: 5170
Re: Please fix this annoyingly slow forum
"I AM IA"...AI needs to fix itself first. 
- Thu Mar 05, 2026 6:38 am
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
Re: Object Theme Library (for Dark or Light Theme)
Right now it's fast. Hurry up!
But for real, I'll do some more testing. I saw that ImageButtons seem not to work (I guess you simulate buttons?) and one of my SpinGadgets, but I firstly need to find out why.
But for real, I'll do some more testing. I saw that ImageButtons seem not to work (I guess you simulate buttons?) and one of my SpinGadgets, but I firstly need to find out why.
- Wed Mar 04, 2026 7:41 pm
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 86
- Views: 37120
Re: Object Theme Library (for Dark or Light Theme)
Hello ChrisR,
I was finally able to test this out, and boy, I should have done earlier. Very well done!
Of course I have a question: Is there something to revert the style to "Windows Standard"? I tried "ObjectTheme::SetObjectTheme(#PB_Default)", but that didn't work.
I was finally able to test this out, and boy, I should have done earlier. Very well done!
Of course I have a question: Is there something to revert the style to "Windows Standard"? I tried "ObjectTheme::SetObjectTheme(#PB_Default)", but that didn't work.
- Mon Mar 02, 2026 6:07 am
- Forum: Coding Questions
- Topic: Easy way to rename a map element?
- Replies: 5
- Views: 273
Re: Easy way to rename a map element?
Thanks very much!
- Sun Mar 01, 2026 8:45 pm
- Forum: Coding Questions
- Topic: Easy way to rename a map element?
- Replies: 5
- Views: 273
Re: Easy way to rename a map element?
Yes, the key.
...does this not just copy the pointer to the map element? What about maps and lists within the map element?
...does this not just copy the pointer to the map element? What about maps and lists within the map element?