Jump to content

Recommended Posts

Posted

Hello Guys,

How can I disable or avoid the "blink" of screen mask when user close a tab (frame) in Page Control as we can see in Desktop Demo?

I tried to disable or change opacity in Main Form, Page Control, Frame, but It doesn't work.

Thanks!

Posted
17 hours ago, lfgarrido said:

How can I disable or avoid the "blink" of screen mask when user close a tab (frame) in Page Control as we can see in Desktop Demo?

I tried to disable or change opacity in Main Form, Page Control, Frame, but It doesn't work.

Hello,

The uniFMask object is used here, I will analyze and let you know.

Posted
17 hours ago, lfgarrido said:

How can I disable or avoid the "blink" of screen mask when user close a tab (frame) in Page Control as we can see in Desktop Demo?

Try this approach for now:

...
      Ts := TUniTabSheet.Create(Self);
      Ts.PageControl := UniPageControl1;

      Ts.JSInterface.JSAddListener('beforeclose', 'function (panel, eOpts){panel.uniFMask={beforeclose: false};}'); //<-----
      Ts.Closable := True;
      Ts.OnClose := TabSheetClose;
...

 

  • Like 1
Posted
14 hours ago, Sherzod said:

Try this approach for now:


...
      Ts := TUniTabSheet.Create(Self);
      Ts.PageControl := UniPageControl1;

      Ts.JSInterface.JSAddListener('beforeclose', 'function (panel, eOpts){panel.uniFMask={beforeclose: false};}'); //<-----
      Ts.Closable := True;
      Ts.OnClose := TabSheetClose;
...

 

Perfect, thanks a lot @Sherzod it works like a charm.

  • lfgarrido changed the title to [SOLVED] Avoid Screen Mask on Frame Close in Page Control

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