Jump to content

How to use the TUniScreenMask component


paul.coshott

Recommended Posts

Hey Everyone,

Can anyone tell me how to use the TUniScreenMask component? I have a few places in my app where I'd like to show the mask over the entire browser window with a simple message ("Please wait..." or something similar).

Can I put the component on the MainModule and use it anywhere? Or does it need to be on the currently active form?

And how do I start and stop it. I played around with it today, but couldn't figure it out.

Cheers,
Paul

Link to comment
Share on other sites

Thanks for the answer.

I'm not sure how I should do it though, as I don't have a control to attach to. I am opening a modal popup form, and in the OnAfterShow event, I am opening a number of tables, and then creating some components. So I'd like to show the mask before the tables start to be opened, and then hide the mask after the components have been drawn.

And is it possible to cover the entire browser window with the mask?

How would I do this?

Cheers,
Paul

Link to comment
Share on other sites

Hello,

you can attach the screenmask to the control (button, menu, ..) that invokes the opening of the form.

If you want the screenmask to be visible until all data is loaded there is a property on the screenmask component waitdata or waitfordata i think.

Dominique

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