Posts Tagged ‘box::yesno’

YesNoBox

Wednesday, October 31st, 2007

A simple way to let the user deside what is going to happen.

1
2
3
4
5
6
7
   if(box::yesNo("Do you want something to happen?", 
      dialogbutton::Yes) == dialogbutton::Yes)
   {         
 
          somethingHappens = this.callTosSomeReturnMethod();
 
   }