Jump to content

Catch value of MessageDlg of mtconfirmation


v4v4n

Recommended Posts

helo every body, how can i catch a value of messagedlg function with mtconfirmation ? i don't know how to know which button is pressed was it yes or no. here is my code MessageDlg(aPesan,mtConfirmation,mbYesNo) 

 

in desktop application i just do this 

 

if MessageDlg(aPesan,mtConfirmation,mbYesNo,0)=mrYes then

begin

   //.......blah blah blah 

end;

 

how do i implement the same things in unigui ? 

 

thanks in advance 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...