cristianotestai Posted March 13, 2016 Posted March 13, 2016 Hi,I need to have in the Screen Mask only the image(.gif) without showing the text and without the panel and edges of the screen mask.What I need is exactly what the Recovery Failure does, if I set the MessageText in blank (' '), only the image appears.Any idea or workaround for this with Screen Mask? Thanks! Quote
erich.wanker Posted March 14, 2016 Posted March 14, 2016 i made a TUniContainerPanel called "mask" in MainForm .. visible:=false; you can make your own thing .. depending on your needs... in ClientEvent -> ExtEvebts: function afterrender(sender, eOpts) { sender.getEl().setStyle('z-index','901100'); } function beforerender(sender, eOpts) { sender.addClass('sec-maske'); } and the CSS: .sec-maske{ z-index:1000; position:absolute; width:100%; height:100%; zoom:1; filter:alpha(opacity=50); opacity:.5; background:#000000; cursor:default; } And i call my mask via different ways: Component-onClick: ClientEvent -> ExtEvebts: function click(sender, eOpts) { MainForm.mask.show(); } or via DelphiCode: UniSession.AddJS('MainForm.mask.hide();'); or unisession.AddJS('MainForm.mask.show();'); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.