State Property (Read Only)

Top  Previous  Next

Returns the state of the component.

 

Visual Basic Syntax

 

[TNBMacroState =] TNBMacro.State

 

Delphi Syntax

 

[TNBMacroState :=] TNBMacro.State;

 

 

Remarks

 

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

 

Constant Value

Meaning

msNoMacro

No macro is loaded.

msStopped

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

msRecording

The component is recording a macro.

msPlaying

The component is playing the macro loaded.

 

See Also TnbProfiles property, StopRecording and StartPlaying methods.