[Overview][Types][Classes][Procedures and functions][Index] |
Updates the enabled state for the action.
Source position: stdactns.pas line 73
public procedure TEditSelectAll.UpdateTarget( |
Target: TObject |
); override; |
Target |
|
Object instance with values examined in the method. |
UpdateTarget is an overridden method used to update values in the action based on settings in the specified Target control. UpdateTarget re-implements the method introduced in the ancestor class.
Target is the object instance with values examined in the method. It is cast to the TCustomEdit type used in the Control property, and its Text property is checked for an existing text value. UpdateTarget sets the value in Enabled to True when Text is not an empty string ('').
UpdateTarget is called from the UpdateActions method in TCustomForm when actions and action lists are updated during an application idle state.
|
Enabled - whether this action is able to be used (default is True). |
|
|
The text displayed and edited for the control. |
|
Version 4.0 | Generated 2025-05-03 | Home |