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 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.. 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. 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/ 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now