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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...