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

<- ResizeScreenWindow() - ScreenGadget Index - ScreenGadgetHeight() ->