Jump to content

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...