Write/Read

LocalLockoutState Property


Description

Prevents use of the mouse, keyboard, and front panel while your program is running. Use of these controls while this property is set TRUE causes an error message on the PNA display. To prevent these messages, see About Error Messages.

 VB Syntax

app.LocalLockoutState = bool

Variable

(Type) - Description

app

An Application (object)

bool

(boolean) -Choose either:

False -  User Interface is NOT locked out.

True - User Interface IS locked out.

Return Type

Boolean

Default

False

Examples

app.LocalLockoutState = True 'Write

block = app.LocalLockoutState 'Read

C++ Syntax

HRESULT get_LocalLockoutState(VARIANT_BOOL *State);
HRESULT put_LocalLockoutState(VARIANT_BOOL *State);

Interface

IApplication4