|
|
|
|
|
List,Get (External language) In french: Liste,Recupere Retrieves the value of a given element or the value of the selected element in a drop-down list or in an expanded list. // In C CALLWD("List,Get,ProdList,3"); strcpy(Value,WDString); // In Pascal CALLWD('List,Get,ProdList,3'); Value:=WdString; // In VB call CALLWD("List,Get,ProdList,3") Value=WdString Syntax
List,Get(<List name> [, <Subscript>])
<List name>: Character string Name of list to use. <Subscript>: Optional character string Index of the element to be recovered. Remarks - If <Subscript> is not specified, the value of the selected element is contained in WdString. The subscript of the element (if it exists) is contained in WdInt.
List,Select,? should be used to retrieve the subscript of the selected element. - If no items are selected in the list or if the list is empty, List,Recupere returns -1 in WdEntier.
- If <Indice> is specified, List,Retrieve returns in WdString the value of the element whose index is specified and in WdInteger the size of the element.
- For combos with input, Liste,Recupere always returns WdChaine, which contains the value of the combo's Edit control.
- WdInt has no meaning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|