[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the value for the Name property.
Source position: actnlist.pas line 188
protected procedure TCustomAction.SetName( |
const Value: TComponentName |
); override; |
Value |
|
New value for the Name property. |
SetName is overridden in TCustomAction. It calls the inherited method to ensure that Value is a valid identifier name for the component and its owner (when assigned). The inherited method may raise an EComponentError exception if the name in value is not a valid identifier. The new property value is also assigned to the Caption property in the action when the number of control clients is 0.
Modified in LCL version 4.0 to improve compatibility with newer Delphi VCL versions; changed to protected visibility.
|
The Caption to be used if this action is associated with a visible component. |
|
Version 4.0 | Generated 2025-05-03 | Home |