Page 1 of 1
DisableGadget not worked
Posted: Thu Mar 13, 2025 1:41 pm
by rndrei
It doesn't work! Ubuntu 24.04
Code: Select all
If OpenWindow(0, 0, 0, 250, 105, "Disable/enable buttons...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ButtonGadget(0, 10, 15, 230, 30, "Disabled Button") : DisableGadget(0, #True)
ButtonGadget(1, 10, 60, 230, 30, "Enabled Button") : DisableGadget(1, #False)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
// Moved from "Bugs - Linux" to "OS Specific/Linux" (Kiffi)
Re: DisableGadget not worked
Posted: Thu Mar 13, 2025 10:14 pm
by moulder61
It seems to work OK for me in Void Linux. I'm using PB 6.11 LTS Beta 2 at the moment.
Just tried it in 6.20 and that seems to work OK too.
Moulder.
Re: DisableGadget not worked
Posted: Fri Mar 14, 2025 2:34 pm
by Fred
It works on Ubuntu 24.04, can anybody else confirm ?
Re: DisableGadget not worked
Posted: Fri Mar 14, 2025 2:38 pm
by NicTheQuick
Works with Purebasic 6.12 on Ubuntu 24.04 LTS.
Re: DisableGadget not worked
Posted: Fri Mar 14, 2025 3:08 pm
by ColeopterusMaximus
Works fine on Arch Linux PB 6.20
Re: DisableGadget not worked
Posted: Fri Mar 14, 2025 4:10 pm
by Mijikai
Works on Linux Debian 12 (PB 6.20)
Re: DisableGadget not worked
Posted: Fri Mar 14, 2025 6:29 pm
by mk-soft
Works here ...
Mint Linux LMDE6, Ubuntu 24.04
PB v6.12, v6.20
I no longer use Ubuntu 24.04, as it no longer runs as stable as the previous versions as a VM.
GUI problems and performance has deteriorated.
I only rarely use it to test things here.
Re: DisableGadget not worked
Posted: Sat Mar 15, 2025 6:21 pm
by rndrei
Yes, I tried it on another machine, everything works! It's something with my operating system!
Re: DisableGadget not worked
Posted: Sun Mar 16, 2025 11:49 am
by rndrei
I figured it out, the post can be deleted!
Re: DisableGadget not worked
Posted: Sun Mar 16, 2025 12:39 pm
by NicTheQuick
rndrei wrote: Sun Mar 16, 2025 11:49 am
I figured it out, the post can be deleted!
Just explain what you did wrong, so others can learn from it.
Re: DisableGadget not worked
Posted: Mon Mar 17, 2025 6:58 pm
by rndrei
For some reason I thought that when I press the disable button, the enable button will become active!
