Posts

Showing posts from April, 2011

Box with Yes/No alternativ

A simple way to query a user for a decision. if(box::yesNo("Do you want to do this?",dialogbutton::Yes) == dialogbutton::Yes) { //run som code here }