d.bernaert Posted April 11, 2019 Share Posted April 11, 2019 Hi, I had a big problem when clicking items fast in a treemenu on the left invoking the destroying and the loading a new frame on the right side of the screen when the user was clicking to fast between menu items. I think I've been able to solve the issue with putting a screenmask that fills the entire screen when they click an item, this way they can't click another item anymore before the frame is completely loaded including data. The issue I have now is that the screen mask is invoked on each item click, but some menu items open modal forms and the screen mask also appears when clicking the arrow to open the sub items in the treemenu. Is there a way to invoice the screenmask only when clicking certain items in the treemenu? Thx, Dominique Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 11, 2019 Share Posted April 11, 2019 1 hour ago, d.bernaert said: I think I've been able to solve the issue with putting a screenmask that fills the entire screen when they click an item, this way they can't click another item anymore before the frame is completely loaded including data. The issue I have now is that the screen mask is invoked on each item click, but some menu items open modal forms and the screen mask also appears when clicking the arrow to open the sub items in the treemenu. Hi Dominique, Can you make a simple testcase if possible? Quote Link to comment Share on other sites More sharing options...
Wicket Posted April 11, 2019 Share Posted April 11, 2019 I had a similar issue to this. As far as I can remember my work around was to unhook the click events on the menu items, then hook them back up in a finally block after the loading process had finished. Quote Link to comment Share on other sites More sharing options...
d.bernaert Posted April 11, 2019 Author Share Posted April 11, 2019 Sherzod, very simple, drop a treemenu on a form. Set the screenmask on the component. I don't want the screenmask to appear on each item in the treemenu, only when clicking on certain items in the treemenu. Dominique Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted April 14, 2019 Share Posted April 14, 2019 Try this. Regards... ScreenMask.zip Quote Link to comment Share on other sites More sharing options...
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.