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: 670
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.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"