Lists Component
Fnd_List_ChoiceList
Fnd_List_ChoiceList (prompt; ->text array) -> Number
Parameters
| Parameter | Type | Description |
|---|---|---|
| prompt | Text | Prompt |
| text array | Pointer | Pointer to a text array |
| Function result | Number | Selected element number |
Description
The Fnd_List_ChoiceList allows the user to select an element from a list. LIST TO ARRAY("MyList";MyTextArray)
Fnd_Wnd_Title ("Choices")
$element_i:=Fnd_List_ChoiceList ("Pick One";->MyTextArray)
If(OK=1)
[Field]Value:=MyTextArray{$element_i}
End if ARRAY TEXT(MyTextArray;0) ` Clear the array.
Extracted source text
Fnd_List_ChoiceList (prompt; ->text array) ➔ Number
Parameter Type Description
prompt Text Prompt
text array Pointer Pointer to a text array
Function result Number Selected element number
The Fnd_List_ChoiceList allows the user to select an element from a list.
LIST TO ARRAY("MyList";MyTextArray)
Fnd_Wnd_Title ("Choices")
$element_i:=Fnd_List_ChoiceList ("Pick One";->MyTextArray)
If(OK=1)
[Field]Value:=MyTextArray{$element_i}
End if
ARRAY TEXT(MyTextArray;0) ` Clear the array.