System.Actions.TStatusAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStatusAction = (
saNone,
saTrivial,
saDefault,
saRequiredEmpty,
saRequired,
saValid,
saInvalid,
saWaiting,
saWarning,
saUnused,
saCalculated,
saError,
saOther);

C++

enum DECLSPEC_DENUM TStatusAction : unsigned char { saNone, saTrivial, saDefault, saRequiredEmpty, saRequired, saValid, saInvalid, saWaiting, saWarning, saUnused, saCalculated, saError, saOther };

Properties

Type Visibility Source Unit Parent
enum public
System.Actions.pas
System.Actions.hpp
System.Actions System.Actions

Description

The type for the status of an input field in an action.

The particular interpretation of the input field status depends upon implementation of an action. For example, the input field status can indicate that a field is mandatory (value in this field must be specified and it is displayed with star marks), that a field contains an incorrect value or the default value, and others.

TStatusAction can have one of the following values.

Value Meaning

saNone

The field representation is not influenced by the input text. The input field status does not have any visible marks.

saTrivial

Displays a normal field in the standard state.

saDefault

This field contains the default value.

saRequiredEmpty

Mandatory field that is not filled yet. This field can be accompanied by a special icon, like a red star, indicating empty mandatory fields.

saRequired

Mandatory field that is already filled. This field can be accompanied by a special icon, like a black star, indicating filled mandatory fields.

saValid

The value in the field has been tested and estimated as a valid value.

saInvalid

The value in the field has been tested and estimated as an invalid value. Such a field can be highlighted to indicate that it contains an invalid value.

saWaiting

Running a long operation.

saWarning

The value in the field is estimated as possibly invalid.

saUnused

The field value is not used in this case.

saCalculated

The value in this field is calculated automatically (possibly using values specified in other fields).

saError

The value in the field is estimated as incorrect.

saOther

Another state (user-defined).


See Also