Just hope that none of your users have a 4K monitor when using this code or they'll have a whole other problem with reading the tabs
Yep, that's why I said I'll adapt it (to use the default system font).
Any how next is a Workaround
Not really:
https://i.imgur.com/rZd3Sou.png
My ...
Search found 3935 matches
- Sun Nov 16, 2025 10:05 am
- Forum: Windows
- Topic: Make selected PanelGadget tab bold?
- Replies: 6
- Views: 104
- Sun Nov 16, 2025 5:53 am
- Forum: Windows
- Topic: Make selected PanelGadget tab bold?
- Replies: 6
- Views: 104
Re: Make selected PanelGadget tab bold?
Thank you so much, Rashad! I will adapt for my needs. 
- Sun Nov 16, 2025 1:11 am
- Forum: Windows
- Topic: Make selected PanelGadget tab bold?
- Replies: 6
- Views: 104
Make selected PanelGadget tab bold?
One of my users has bad vision and would like the selected PanelGadget tab to be in bold text, instead of default.
I tried this search but no matches -> search.php?keywords=panelgadget+tab+text+bold
Any ideas? Thanks.
I tried this search but no matches -> search.php?keywords=panelgadget+tab+text+bold
Any ideas? Thanks.
- Sat Nov 15, 2025 12:32 pm
- Forum: Off Topic
- Topic: Free, Opensource…
- Replies: 4
- Views: 150
Re: Free, Opensource…
I think Piero is competing with oryaaaaa for having the most weird posts. 
- Sat Nov 15, 2025 4:14 am
- Forum: Coding Questions
- Topic: [solved] pb v6.21 compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.
- Replies: 9
- Views: 294
Re: [pb 6.21] compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.
hoping the development team will eventually build the corresponding API functions into the respective versions
Won't happen. It's been discussed before. It's because (1) PureBasic is cross-platform, and (2) the entire API data is over 1 GB. It says at PureBasic.com:
"Even if PureBasic supports ...
Won't happen. It's been discussed before. It's because (1) PureBasic is cross-platform, and (2) the entire API data is over 1 GB. It says at PureBasic.com:
"Even if PureBasic supports ...
- Fri Nov 14, 2025 1:00 am
- Forum: Coding Questions
- Topic: How to detect when a window created by another process is closed in PureBasic?
- Replies: 3
- Views: 349
Re: How to detect when a window created by another process is closed in PureBasic?
I can get the window handle using FindWindow_(), but I’m not sure how to detect when that external window is closed.
Since you've got the handle (hWnd), the IsWindow_(hWnd) command will return 0 if the window doesn't exist (like when closed).
eJan's solution tests if the window's executable is ...
Since you've got the handle (hWnd), the IsWindow_(hWnd) command will return 0 if the window doesn't exist (like when closed).
eJan's solution tests if the window's executable is ...
- Wed Nov 12, 2025 11:31 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 361
Re: EditorGadget - reset the style of the copied text.
The clipboard can actually hold multiple formats, and Windows chooses the best one for the current paste. It's nothing new.
- Wed Nov 12, 2025 11:42 am
- Forum: Coding Questions
- Topic: How to update UI gadgets inside a procedure
- Replies: 13
- Views: 532
Re: How to update UI gadgets inside a procedure
I can't figure out how to make the SetGadgetText be shown before the loop begins, and before the procedure ends.
This works just fine for me (and it assumes your app doesn't need to do anything else at the time):
Procedure DoLongProcedure()
SetGadgetText(0, "Please wait...")
DisableGadget(1,1 ...
This works just fine for me (and it assumes your app doesn't need to do anything else at the time):
Procedure DoLongProcedure()
SetGadgetText(0, "Please wait...")
DisableGadget(1,1 ...
- Wed Nov 12, 2025 7:50 am
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 361
Re: EditorGadget - reset the style of the copied text.
The EditorGadget uses rich text, so it will paste in the style of text it was copied (like from Word). If you don't want that, you need to paste the text from Word as plain text into the EditorGadget, so it uses your EditorGadget font instead.
- Tue Nov 11, 2025 12:37 am
- Forum: Coding Questions
- Topic: MD5 for text [Resolved]
- Replies: 11
- Views: 433
Re: MD5 for text [Resolved]
Maybe use Left() on it to crop it? Should still be a unique result if not used for private or critical situations.Kwai chang caine wrote: Sun Nov 09, 2025 10:05 pmUnfortunately the MD5 is really longer than the original text
- Sat Nov 08, 2025 1:24 am
- Forum: Bugs - Windows
- Topic: [Done] How to find the reason for compiler-problems?
- Replies: 11
- Views: 542
Re: How to find the reason for compiler-problems?
Yep, just pointing out that the crash is a regression bug, because it doesn't happen with 6.10. 
- Fri Nov 07, 2025 1:15 pm
- Forum: Bugs - Windows
- Topic: [Done] How to find the reason for compiler-problems?
- Replies: 11
- Views: 542
Re: How to find the reason for compiler-problems?
One line is needed for the crash compiler. Declare test2(*t1.point, *t2.struct)
On PB 6.10, that one line doesn't crash the compiler but just gives this error:
---------------------------
PureBasic
---------------------------
Line 1: Structure not found: str3.
---------------------------
OK ...
- Mon Nov 03, 2025 12:27 pm
- Forum: Coding Questions
- Topic: Getting name of a variable as a string$ during runtime?
- Replies: 11
- Views: 463
- Sat Nov 01, 2025 12:53 am
- Forum: Tricks 'n' Tips
- Topic: LogViewGadget PBI
- Replies: 6
- Views: 550
Re: LogViewGadget PBI
I almost didn't try this because there was no screenshot to show it off. So I tried, and was very impressed! Screenshot done for you:


- Fri Oct 31, 2025 12:04 pm
- Forum: Coding Questions
- Topic: minimize+Restore Loses all my gadgets
- Replies: 31
- Views: 1209
Re: minimize+Restore Loses all my gadgets
You really need to create a small new app using the same window events as your main app, to see if it fails too. If it does, post that small code here. If not, then you've coded something wrong in your main app and you need to see what the difference is in your main app vs your small working test app.