More Options for UnbindEvent (PB 5.20LTS)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 693
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

More Options for UnbindEvent (PB 5.20LTS)

Post by Kurzer »

More Options for UnbindEvent to unbind...

- all previous binded Events with one command
- all previous binded Events for a window with one command
- all previous binded Events for an Objekt with one command

e.g.

UnbindEvent(#PB_Any, #PB_Any, #MainWindow) to unbind all Events for the MainWindow.
UnbindEvent(#PB_Any, #PB_Any, #SettingWindow, #EditorGadget) to unbind all Events for Editorgadget in the MainWindow.
PB 6.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"