Skepsis IT Posted July 4, 2013 Share Posted July 4, 2013 Hi everybody, i've made a search form that has as a result a value. I use the callback method just like the example and works fine, but I have an unexpected behaviour problem. Look at the following code. SearchDlgForm.Show( procedure(Result:Integer) begin res:=Result; end ); MessageDlg('Are you sure?',mtConfirmation,mbYesNo,_Confirm); The Search form pops up and right away the messagedsl command also execute. I want to pop up the search form and when I close it and res returns then the messagedlg command execute. Any ideas? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.