[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TMenuActionLink.SetCaption

Updates the Caption property in the linked menu item.

Declaration

Source position: menus.pp line 75

protected procedure TMenuActionLink.SetCaption(

  const Value: string

); override;

Arguments

Value

  

New value for the Caption property in the linked TMenuItem client.

Description

No actions are performed in the method if the Caption property in the linked action and the linked menu item have different values on entry.

See also

TMenuActionLink.IsCaptionLinked

  

Is the action's Caption linked to the client?

TMenuItem.Caption

  

The caption text displayed for the menu item.

TActionLink.IsCaptionLinked

  

Is the action's Caption linked to the client?

TActionLink.SetCaption

  

Sets the value for the Caption property.


Version 4.0 Generated 2025-05-03 Home