Enable, Disable Methods

Purpose

Enables or disables mouse and keyboard input for a Form.

Syntax

[Form.]Enable

[Form.]Disable

Description

The mouse and keyboard input for windows can be controlled separately. Enable enables these inputs for the form, Disable disables them.

Example

OpenW # 1

Win_1.Disable

Print Me.Enabled   // prints 0 (False)

// ... Now no input (mouse & keyboard) possible

Me.Enable

Print Me.Enabled   // prints -1 (True)

Now input (mouse & keyboard) is possible again. The input for window 1 is first deactivated and the reactivated.

See Also

Form, Enabled

{Created by Sjouke Hamstra; Last updated: 04/10/2014 by James Gaite}