Skip to main content
A newer version of this page is available. .

TdxBasicAction.IsLocked Method

Returns a value indicating whether the action object can be updated.

Declaration

function IsLocked: Boolean;

Returns

Type
Boolean

Remarks

If the IsLocked function returns True, the BeginUpdate procedure is called, and all client controls associated with the current action object may have pending state, caption, and/or hint changes. This function returns False if any changes made to the current action object are immediately applied to all linked UI elements.

If a particular client control does not update itself according to an action state change automatically, call the UpdateTarget procedure.

Note

If the IsLocked function returns True, you can apply all postponed changes to the action object’s client controls by calling EndUpdate procedure. In order to discard any linked UI element changes, call the CancelUpdate procedure instead.

See Also