Adds new items to the popup control.
Syntax
rv = Send_Message(Ctrl, "OLE.AddItems", ItemList)
Parameters
Parameter | Description |
---|---|
ItemList | List of new items to add |
Remarks
The AddItems method adds new items to the popup without replacing the current ones. The ItemList parameter has the same structure as the ItemList. See the ItemList property for details.
Example
// Add a single item to the popup Items = "" Items<1, 1> = "0":@SVM:"0":@SVM:"170":@SVM:"130" Items<1, 2> = "Hello, World!" Items<1, 4> = "":@SVM:"":@SVM:"700":@SVM:"0":@SVM:"0" Items<1, 5> = "Center":@SVM:"Center" rv = Send_Message(@Window:".OLE_POPUP", "OLE.AddItems", ItemList)