|
|
|
|
List,Select,? (External language) In french: Liste,Select,? Returns the element selected in the list. // In C CALLWD("List,Select,?,ProdList,1"); strcpy(Selection,WDString); strcpy(Subscript,WDInt); // In Pascal CALLWD('List,Select,?,ProdList,1'); Selection:=WdString; Subscript:=WdInt; // In VB call CALLWD("List,Select,?,ProdList,1") Selection=WdString Subscript=WdInt Syntax
List,Select,?(<List name> , <Rank>)
<List name>: Character string Name of list to use. <Rank>: Character string Rank of the selected element (multi-selection list): 1 to get the first selected element, 2 to get the second one, ... Remarks - WdInt contains the subscript of the selected element.
- WdString contains the value of the selected element.
- If no selection was performed, WdInt is equal to -1.
- If this function is used on the editable combo boxes, the value returned by WdInt is inconsistent.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|