Jump to content

HowTo : display message from datamodule


mierlp

Recommended Posts

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...