Home - RAD C++ GUI Lib 1.2.2 Documentation
Published on March 09, 2007 [03:04:02 PM]



Browse class : _window

Function : bool confirm(String message[,String title])


Description

displays a messages box with two buttons 'Yes' and 'No', when user responds to it by clicking one of them,
it returns true if clicked 'Yes' and false otherwise.


Return

true or false


Remarks

e.g.

//just like javascript
if(form1.confirm("want to exit?"))
   Application.close();





Visit www.radcpp.com for more help and updates. Documentation created using FlaX.Doc