Cicode Programming Reference > Cicode Function Categories > Form Functions Introduction > FormActive

FormActive

Checks if a form is currently active (displayed on the screen). This function is useful when forms are being displayed in asynchronous mode and another Cicode task is trying to access the form.

Syntax

FormActive(hForm)

hForm:

The form handle, returned from the FormNew() function. The form handle identifies the table where all data on the associated form is stored.

Return Value

TRUE (1) if the form is active or FALSE (0) if it is not.

Related Functions

FormDestroy, FormNew

Example

See FormDestroy

See Also

Form Functions