Search Locate Previous Next Contents

Win.Ask – simple confirmation dialogue

ok„Win.Ask 'Are you sure?'

Generates a standard ‘Yes/No’ message-box, with the default button set to ‘No’ for safety. You can pass 1 as the optional left argument to set the default to ‘Yes’

Returns scalar 0 for ‘No’ or 1 for ‘Yes’ regardless of index origin.



Continue to: Win.Color – call standard colour selection
© Copyright Causeway Graphical Systems Ltd 2001