Search found 428 matches

by Mindphazer
Fri Oct 24, 2025 10:38 am
Forum: Coding Questions
Topic: PB_Key_Colon
Replies: 7
Views: 248

Re: PB_Key_Colon

Code: Select all

#My_Shortcut_Colon_FR = 191 ;constant obtained from Shortcut gadget test
by Mindphazer
Thu Oct 23, 2025 9:08 am
Forum: Coding Questions
Topic: Only #PB_Any works
Replies: 4
Views: 186

Re: Only #PB_Any works

If you have a lot of gadgets, it's (in my humble opinion) easier to use constants
by Mindphazer
Thu Oct 23, 2025 8:33 am
Forum: Coding Questions
Topic: Only #PB_Any works
Replies: 4
Views: 186

Re: Only #PB_Any works

RogerTunnicliffe wrote: Thu Oct 23, 2025 4:43 am

Code: Select all

  Editor_2 = EditorGadget(#G_Editor2, 10, 120, 600, 100)
   
You can't do that
Either you assign a gadgetnumber to a variable using #PB_any
Either you use your gadget with a defined constant
But not both !
by Mindphazer
Tue Oct 21, 2025 5:21 pm
Forum: Coding Questions
Topic: SpinGadget
Replies: 5
Views: 326

Re: SpinGadget

I'd say yes, but :
This is much simpler
#win=1
#spin1=1
#spin2=2
OpenWindow(#win, 0, 0, 140, 120, "SpinGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

SpinGadget (#spin1, 20, 20, 100, 25, 0, 1000,#PB_Spin_Numeric)
SpinGadget (#spin2, 20, 60, 100, 25, 0, 1000,#PB_Spin_Numeric ...
by Mindphazer
Tue Oct 21, 2025 3:25 pm
Forum: Off Topic
Topic: Curiosity : RandomSeed(Random(1000))
Replies: 5
Views: 318

Re: Curiosity : RandomSeed(Random(1000))

So, what ?
by Mindphazer
Sat Oct 18, 2025 9:35 am
Forum: Tricks 'n' Tips
Topic: Animated Vector Graphics Scene Graph
Replies: 60
Views: 2278

Re: Animated Vector Graphics Scene Graph

No circles here neither (MacOS M4)
And the switch button is grey and stays grey even when clicked
by Mindphazer
Thu Oct 16, 2025 4:23 pm
Forum: The PureBasic Form Designer
Topic: OS Skins for Windows 10 and 11
Replies: 2
Views: 310

Re: OS Skins for Windows 10 and 11

I don't think such skins exist
by Mindphazer
Thu Oct 16, 2025 9:19 am
Forum: Coding Questions
Topic: Window With Border Without Caption
Replies: 24
Views: 4197

Re: Window With Border Without Caption

It works fine, thanks a lot

(Yeah, i'm using a Mac at home, but here it was for my work, on Windows :mrgreen: )
by Mindphazer
Thu Oct 16, 2025 8:28 am
Forum: Announcement
Topic: mxLib new gui library [macOS silicon]
Replies: 4
Views: 307

Re: mxLib new gui library [macOS silicon]

spacebuddy wrote: Wed Oct 15, 2025 11:29 pm Hi,

I downloaded demo and when I run it, Mac OS/X saids "mx.dylib" is a malware and to send to trash.

Thanks
Same here.
You need to authorize it in Privacy & Security
by Mindphazer
Thu Oct 16, 2025 8:12 am
Forum: Coding Questions
Topic: [SOLVED] (end)User Friendly Way to delete ListIconGadget line?
Replies: 24
Views: 975

Re: [SOLVED] (end)User Friendly Way to delete ListIconGadget line?

The same code, but cross platform :
Enumeration
#KeyDelete
EndEnumeration

If OpenWindow(0, 100, 100, 300, 300, "ListIcon Example", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
AddKeyboardShortcut(0, #PB_Shortcut_Delete, #KeyDelete)
ListIconGadget(0, 5, 5, 290, 290, "Number", 100, #PB ...
by Mindphazer
Thu Oct 16, 2025 7:53 am
Forum: Coding Questions
Topic: Window With Border Without Caption
Replies: 24
Views: 4197

Re: Window With Border Without Caption

Thanks Rashad, it works, but the TextGadget stays disabled, whatever you do

By the way, this problem doesn't occur on MacOS, even with PB6.21. So it seems related to CanvasGadget on Windows
by Mindphazer
Wed Oct 15, 2025 1:41 pm
Forum: Coding Questions
Topic: Window With Border Without Caption
Replies: 24
Views: 4197

Re: Window With Border Without Caption

Yes, i'm not sure it can be called a "bug"
But it was very useful in my application.. So i have to compile with 6.20 :|

And there's the same bahaviour in PB6.30
by Mindphazer
Wed Oct 15, 2025 8:26 am
Forum: Coding Questions
Topic: Window With Border Without Caption
Replies: 24
Views: 4197

Re: Window With Border Without Caption

Hello mk-soft
I've been using your code in one of my apps
Since PB 6.21, something has changed. When there is a textgadget inside the CanvasGadget, clicking inside the textgadget to move the window doesn't work anymore. You have to click outside the textgadget.

Try this code with PB 6.20 and PB 6 ...