Page 1 of 1

6.30 Beta 5 - ScreenEventType() undefined value

Posted: Tue Dec 09, 2025 2:14 pm
by falsam
#PB_ScreenEventType_Focus , #PB_ScreenEventType_LostFocus and #PB_ScreenEventType_Change undefined 😉

Re: 6.30 Beta 5 - ScreenEventType() undefined value

Posted: Wed Dec 10, 2025 10:56 am
by pf shadoko
Event management is very basic at the moment.
This will be added in version 6.31.

Re: 6.30 Beta 5 - ScreenEventType() undefined value

Posted: Wed Dec 10, 2025 11:41 am
by falsam
The information was in the Beta 5 documentation. That's why I pointed out this omission 😉
Help 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
We'll wait for version 6.31 😉