RAD Studio (Common)
|
Use the IconView Items editor at design time to add or delete the items displayed in an iconview component. You can add or delete new items, and you can set the caption and image index for each item using the IconView Items editor.
You can display the IconView Items editor in these ways:
The IconView Items editor contains an Items group box with an Items list box, a New Item button and a Delete button. When you first add an iconview control to a form, the Items list box is empty and the Delete button as well as the Item properties on the right are disabled. When you enter or change item properties for a selected item, the Apply button is enabled so that you can activate changes immediately.
The IconView Items editor also contains an Item Properties group box for setting the properties of the iconview item currently selected in the Items list box. The Item Properties group box contains a Caption edit box and an Image Index edit box.
Items list box Shows the iconview items. These are contained in the Items property of the iconview control.
New Items button Lets you add items to the iconview.
Delete button Lets you delete a selected item in the Items list box.
Create and delete iconview items and subitems in the Items group box. To create a new item, click New Item. A default item caption appears in the Items list box. Specify an item's properties, including its caption, in the Items Properties group box. When you create a new item, or select an existing item, the New SubItem button is enabled so that you can nest items within other items in the iconview. If the Items list box contains items, the Delete button is also enabled. To delete an item, select it in the Items list box and click Delete.
Caption Names the selected item in the Items list box. The name appear in the icon view.
Image Index Lets you specify the number of an image to be used next to the selected iconview item. These are contained in the Images property of the iconview control.
Set the properties for a selected item in the Item Properties group box. Enter a name for the item in the Caption edit box. As you enter the name, it changes in the Items list box.
To display an image to the left of an item that is not currently selected, specify the index number of the image in the Image Index edit box. To suppress image display, set Image Index to 0 (the default).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|