IMenuItem.Text

Syntax

Text: String;

Description

The Text property determines the line identifying a component for the user

Comments

The text that explains to the user the purpose of this component is specified in this property. To make a menu item work as a separator, set the Text property to "-".

If the menu item uses the Action object, the value of the Text property of the menu item is determined automatically by the value of the Caption property of the Action object.

NOTE. The separators placed at the beginning and at the end of the menu are hidden automatically. One of two separators in succession is also hidden.

See also:

IMenuItem