getMultipleChoices

HC GUI programming Standard Dialogs getMultipleChoices
getFontFromUser getNumberFromUser

getMultipleChoices message caption choices
(getMultipleChoices message caption choices pos centre size)


Operation to show a dialog to choose some of multiple choices.

message is the input promt text.

caption is the window title text.

choices is a list of items which may be lists or words to select from.

pos is a list of two integer numbers representing x and y position.

If centre is true, the message text (which may include new line characters) is centred; if false, the message is left-justified.

size is a list of two numbers representing width and height.

Output is a list of integers representing the selections, starting from 1 for the first choice.

Examples:

show (getMultipleChoices [a Message][a Caption]
	[[Choice Nr. 1][Second Choice][Third Choice]])

show (getMultipleChoices [a Message][a Caption]
	[[Choice Nr. 1][Second Choice][Third Choice]]
	[200 200] false [400 300])

Reference:

getFontFromUser getNumberFromUser