mierlp Posted July 16, 2012 Share Posted July 16, 2012 Hi My DataModule contains query components and at the BeforePost i check if the user enters some data...if not a message needs to be showed. This doesn't do the trick: ShowMessage('<br/><br/>You need to choose a PRIORITY!' + '<br/><br/>'); How can i solve this so i can display messages which will be fired form within datamodule. Regards Peter Quote Link to comment Share on other sites More sharing options...
EddyRocha Posted July 19, 2012 Share Posted July 19, 2012 i have the same problem.. Quote Link to comment Share on other sites More sharing options...
zilav Posted July 20, 2012 Share Posted July 20, 2012 Create your own OnBeforePost handler function inside UniGUI form, and assign it in runtime to a DataSet. Don't forget to remove it (assign a nil) when the form is about to be destroyed, but DataSet is not. Quote Link to comment Share on other sites More sharing options...
Ronak Posted July 23, 2012 Share Posted July 23, 2012 http://forums.unigui.com/index.php?/topic/2164-datamodule/ Quote Link to comment Share on other sites More sharing options...
EddyRocha Posted July 23, 2012 Share Posted July 23, 2012 Thanks, works with uniGUIDialogs in uses list. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.