Syntax
| InputSelectBox[$](Prompt$[, Title$][, Default$][, XPos, YPos]
[,Selection][, HelpFile, Context])
| ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Display an TRADIUM styled input box where the user can select a value from a list of array element parsed in selection. Pressing the OK button returns the element sequence number, equivalent to the index of the JOINed array. Pressing the Cancel button returns a null string.
| ||||||||||||||||||
See Also
| |||||||||||||||||||
Example
| Sub Main
Dim A$(0 To 3)
A$(0) = "One"
A$(1) = "Two"
A$(2) = "Three"
A$(3) = "Four"
L$ = InputSelectBox$("Enter some text:", _
"Input Box Example|Allright|Never", "Two", Selection:=Join(A$(),"|"))
Debug.Print L$
End Sub
|