mierlp Posted July 16, 2012 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
zilav Posted July 20, 2012 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
Ronak Posted July 23, 2012 Posted July 23, 2012 http://forums.unigui.com/index.php?/topic/2164-datamodule/ Quote
EddyRocha Posted July 23, 2012 Posted July 23, 2012 Thanks, works with uniGUIDialogs in uses list. Quote
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.