You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Adds new items to the popup control.

Syntax

rv = Send_Message(Ctrl, "OLE.AddItems", ItemList)

Parameters

ParameterDescription
ItemListList 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)

See Also

ItemList

  • No labels