Jump to content

Show ScreenMask,When Run Query


Ario.Paxaz

Recommended Posts

Hi

 

I Used it,but I have error.

1738_untitled.jpg

 

I change Form to main form name,and use my main form in uses list ,but error appear.

  Main.ShowMask('Loading');
  UniSession.Synchronize();
  UniMainModule.ADOQuery1.Open;
  Main.HideMask;

Best Regards.

Link to comment
Share on other sites

  • 2 weeks later...

Hi

 

 

Unit1 is unit and don't have form.

 

 

Best Regards.

 

maybe you want create function to easy execute query,

but mask must have parent form, or you must create form runtime in function

 

or 

 

yourform.ShowMask('xxx');

try

 

   tbl.sql.text := 'select xxxx';

   if not execsql(tbl) then

       exit;

   ....

 

finally

   yourform.hidemask;

end;

Link to comment
Share on other sites

  • 1 month later...

Hi,

I'am using the Trial version to make a litle project to demonstrate the power of UniGUI to my chief...and i have some difficults :

 

1) when i want to show/hide the ScreenMask of my main form nothing is happed (the time to open my query is 10 seconds but no wait message is viewing)

2) when i want to change le title of the ServeurModule,...the default title "New Application" is back !

 

What is wong ?

Is it because of the Trial version ?

 

Thanks

Link to comment
Share on other sites

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...