[Contents]
[Index]
[Help]
[Browse <]
[Browse >]
lister request <handle> <text> <buttons>
This command is identical to the dopus request command except that it
takes an additional handle parameter and the requester will be centred
over that lister.
text is a string of text to be displayed in the requester.
buttons are the buttons you wish the requester to have; each button
should be separated by a vertical bar character.
For example,
+ lister request 121132636 '"Choose one" Option 1|Option 2|Option 3'
Note the quotes around the entire argument string.
You can have multiple lines in the requester text by putting the "return"
character at the end of lines.
This would display a requester with the string "Choose one", and three
buttons labelled Option 1 to Option 3.
The cardinal number of the selected button is returned in RC . The last
button supplied (Option 3 in this case) is designated a "Cancel" button,
and so returns the value 0. Therefore, the values returned by this example
are 1, 2, and 0, respectively.
See also:
lister getstring
dopus request
dopus getstring
Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.