IsGadget()

语法

Result = IsGadget(#Gadget)
概要
Tests if the given gadget number is a valid and correctly initialized gadget.

参数

#Gadget The gadget to use.

返回值

Returns nonzero if the input is a valid gadget and zero otherwise.

Remarks

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

参阅

FreeGadget()

已支持操作系统

所有

<- ImageGadget() - Gadget Index - ListIconGadget() ->