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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...