Jump to content


Photo

ShowMask always masks entire application?


  • Please log in to reply
3 replies to this topic

#1 rgreat

rgreat

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 161 posts

Posted 25 January 2018 - 07:47 PM

Tried to mask single controls like:

procedure TMainForm.TV2RefreshTimer(Sender: TObject);
begin
  TV2.ShowMask('Loading');
  UniSession.Synchronize;
  // some treeview updating
  TV2.HideMask;
end;

But all form is masked instead.

 

Is that by design?

 

Also is there any another way to set screenmask on TUniTimer?


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4119 posts

Posted 26 January 2018 - 05:41 AM

Hi,

 

Can you try to use this approach for now ?!:

 //TV2.ShowMask('Loading');
 TV2.JSInterface.JSCall('showMask', ['Loading', TV2.JSControl]);

Best regards,


  • 1

#3 rgreat

rgreat

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 161 posts

Posted 26 January 2018 - 01:53 PM

It working. Thank you.

 

Maybe you can also add ScreenMask property to TUniTimer?


  • 0

#4 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 722 posts
  • LocationKufur Kassem, Palestine

Posted 12 February 2018 - 03:36 PM

In extjs 4.2.5 it was woking fine.

 

We need it in client side to work correctly.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users