Jump to content

unipanel visible


jahlxx

Recommended Posts

On 12/26/2018 at 6:26 PM, Sherzod said:

procedure TMainForm.UniPanel1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = '_hide' then begin // // Your logic end; end;

Hi.

Here, my code is execute a sql statement to load a grid, but screenmask is not shown.

The same code, in a button click, shows loading in screenmask, but ajaxevent doesn't.

How can I do this?

Thanks.

 

Link to comment
Share on other sites

Sorry, my english is not very good.

 

When I hide the panel, I generate an ajax event.

In the ajax event, I execute a query, but the screenmask is not shown.

I have 2 options:

- do it in the way you told me in the prior post

- set the screenmask.enabled of the panel to true

tested the second way, it works, but I don't know if its is the best way.

But now, works, 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...