IsScreenGadget()

Syntax

Result = IsScreenGadget(#ScreenGadget)
Description
Tests if the given gadget is valid and correctly initialized.

Parameters

#ScreenGadget The gadget to test.

Return value

Nonzero if the gadget is valid, zero otherwise.

Remarks

This function is bulletproof and may be used with any value. This is the correct way to ensure a gadget is ready to use.

Supported OS

All

<- InputEvent() - ScreenGadget Index - ListViewScreenGadget() ->