6.30 Beta 5 - ScreenEventType() undefined value
Posted: Tue Dec 09, 2025 2:14 pm
#PB_ScreenEventType_Focus , #PB_ScreenEventType_LostFocus and #PB_ScreenEventType_Change undefined 
http://www.purebasic.com
https://www.purebasic.fr/english/
We'll wait for version 6.31Help PB 6.30 Beta 5 wrote: ScreenEventType()
Syntax
Result = ScreenEventType()
Description
After a ScreenWindowEvent() function, use this function to determine of which type the event is.
Parameters
None.
Return value
The following values are possible, if an event of the type #PB_Event_Gadget (library ScreenGadget) occurs:
#PB_ScreenEventType_Focus : Get the focus.
#PB_ScreenEventType_LostFocus: Lose the focus.
#PB_ScreenEventType_Change : Content change.
The following gadgets support ScreenEventType():
- StringScreenGadget()
(See the gadget definition to see which events are supported).
See Also
ScreenWindowEvent()
Supported OS
All