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.
TComponent |