KingOrmon Posted May 3, 2023 Share Posted May 3, 2023 Hi, how can I show a immediate Mask in client side using Unisession.addJs ? Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 3, 2023 Share Posted May 3, 2023 Hello, Please describe your case in more detail. Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted May 3, 2023 Author Share Posted May 3, 2023 I would like a showMask() in client side using Unisession.addJs(Form.JSName+'.showMask()'; // // Flush to client side. continue with server side code until finish Unisession.addJs(Form.JSName+'.hideMask()'; Quote Link to comment Share on other sites More sharing options...
cyracks Posted April 23 Share Posted April 23 One way is to use timer: procedure TFormScann.SweetAlertConfirm(Sender: TObject); begin TimerShowMask.Enabled := True; ShowMask(); end; procedure TFormScann.TimerShowMaskTimer(Sender: TObject); begin TimerShowMask.Enabled := False; pDoSomething end; procedure TFormScann.pDoSomething; begin ... HideMask; end; Please tell If anybody have a better solution. 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.