Vcl.StdActnMenus.TStandardMenuItem.CMTextchanged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CMTextchanged(var Message: TMessage); message CM_TEXTCHANGED;

C++

HIDESBASE MESSAGE void __fastcall CMTextchanged(Winapi::Messages::TMessage &Message);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdActnMenus.pas
Vcl.StdActnMenus.hpp
Vcl.StdActnMenus TStandardMenuItem

Description

Responds when this menu item's caption changes.

This method is called automatically in response to Windows messages containing a notification that the text of this menu item has changed.

Message represents the Windows message that notifies this menu item of a change to its text.

CMTextchanged recalculates the string it displays when the menu item is not underlining its accelerator key.

See Also