IMenuItem.Text

Syntax

Text: String;

Description

The Text property determines the row identifying a component for a user.

Comments

The text that explains to a 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 the value "-".

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