Items Editor

From RadPHP XE2 Documentation
Jump to: navigation, search


The Items Editor dialog box enables you to easily add menu items to a component, such as a MainMenu or a PopupMenu after you add one to a form.

To open the "Items Editor" dialog box, add a component with an "Items" property to the form and select it. Click the ellipsis button on the "Items" property in the "Object Inspector".

Item Description
Items Displays the items and sub-items for the selected component.
New Item Adds a new  Item at the root of the item list and at the location of the cursor in the "Items" list.
New SubItem Adds a new SubItem under the selected  Item in the "Items" list.
Delete Deletes the selected Item or  SubItem from the "Items" list.
Load Loads a previously created item list saved to a text file.
Text Specifies the text to display for the item.
Image Index Specifies by index number in the  ImageList which image to display beside the selected item.

Important

To use images for items, you must add an  ImageList component to the form and populate it with the list of images used in the application. Once that is done, you simply use the "Image Index" field to specify which image in the list to use.
Tag Specifies an interger which is the identifying tag ID to use for the selected item.
Personal tools