From Clomosy Docs
procedure Clomosy.AskAndCall(var AAskMessage,AYesButton,ANoButtun:String);
The "AskAndCall" function is commonly used in Clomosy programming to display a dialog box where you can request user confirmation. It has a structure similar to the "Ask" function. You can use this function to ask a question or present options to the user.
The "AskAndCall" function takes three parameters. The first parameter represents the question or prompt displayed in the dialog box. The second parameter specifies the action to be taken if the confirmation button is clicked. If the rejection button is clicked, the function will proceed to the action specified in the third parameter.
Example
void ProcYes; { ShowMessage('Yes Clicked'); } void ProcNo; { ShowMessage('No Clicked'); } { Clomosy.AskAndCall('Do you like Clomosy?','ProcYes','ProcNo'); }