method Editor.InsertItem (Value as Long, Caption as String, [Image as Variant], [Parent as Variant])
Inserts a child item to the editor's list.

   Value as Long A long expression that defines a predefined value.  
   Caption as String A string expression that indicates the caption for the Value. The Caption supports HTML format.  
   Image as Variant A long expression that indicates the index of the item's icon.  
   Parent as Variant A long expression that defines the value of the parent item.  
Use the InsertItem to insert child items to the editor's predefined list. Use the AddItem method to add new items to the editor's list. Use the ExpandItem property to expand an item. Use the ExpandAll items to expand all items. Use the ItemTooltip property to assign a tooltip to a predefined item into a drop down editor.

Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.