State Property (Read Only)

Top  Previous  Next

Returns the state of the control.

 

Visual Basic Syntax

 

[TNBMacroState =] TNBXMacro.State

 

Delphi Syntax

 

[TNBMacroState :=] TNBXMacro.State;

 

 

Remarks

 

The value of this property can be one of the following constants:

 

Constant Value

Meaning

msNoMacro

No macro is loaded.

msStopped

The control has a macro loaded and is in a stopped state.

msRecording

The control is recording a macro.

msPlaying

The control is playing the macro loaded.

 

See Also ProfilesControl property, StopRecording and StartPlaying methods.