Jump to content

Screenmask - HowTo Question


erich.wanker

Recommended Posts

Hello,

 

i have a uniPanel (called panel_display) on my Mainform...

if i click a Image, one of my different UniFrames will be displayed in "panel_display" ..i use "insertframe" like the MegaDemo..

 

  • Is where a way to use a screenmask on panel_display - while the UniFrame is loading?

 

i am searching something like:

Procedure TMainForm...OnClick(Sender:TObject);
begin
   panel_display.masked = true or something else..
        InsertFrame('tframe_verwaltung',panel_display);
   panel_display.masked = false..
end;

and how can i change the Screenmask optic and text ?

 

 

Thank you

  • Upvote 1
Link to comment
Share on other sites

i aswer myselfe ;-)

 

 

to show or hide a Mask during loading a TuniFrame i use:

UniSession.AddJS(panel_display.JSName+'.showMask();');

    if menuepunkt = 1 Then InsertFrame1('tframe_verwaltung',panel_display);

 UniSession.AddJS(panel_display.JSName+'.hideMask();');

hope someonoe can use it ;-)

 

nice greetings from Salzburg Land

  • Upvote 3
Link to comment
Share on other sites

  • 3 years later...

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