Qstbox

Qstbox displays a popup windows with a message including a question. The user clicks on Yes or No to answer to the question.

This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Syntax

 Qstbox MESSAGE_LIST Using ANSWERQstbox MESSAGE_LIST Titled TITLE Using ANSWERQstbox MESSAGE_LIST Titled TITLE Using ANSWER Sleep TIMEQstbox MESSAGE_LIST Using ANSWER Sleep TIME

Examples

# If the computation returns a small value without error, ask for continuingLocal Integer CONTCall COMPUTATION(FORMULA,RESULT, ERROR)If ERROR=0 and RESULT<10Qstbox "The following formula has been computed",FORMULA,&"with a small result (equal to "+num$(RESULT)+")",&"Do you wish to continue the process?"& Titled "Do you really want to continue?" Using CONT Sleep 60If CONT= 1Call NEXT_COMPUTATIONEndifEndif

Description

Qstbox behaves as Infbox, but the popup looks different ("?" symbol on a blue bar).
This instruction should be used only to display a message followed by a yes/no question.

See also

Endbox, Errbox, Infbox, Selbox, Wrnbox