awendisch Posted February 13, 2023 Share Posted February 13, 2023 After I create a instance of a TUniScreenMask while trying to call a sceen mask manually the Error occurs : ''There is no default JS Object appears' . I'm not quite sure on how to make this work, if someone has any pointers on how to solve this problem I apreciate. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 13, 2023 Share Posted February 13, 2023 Hello, Could you make a simple testcase to check? Quote Link to comment Share on other sites More sharing options...
awendisch Posted February 13, 2023 Author Share Posted February 13, 2023 ScreenMask.rar 1 hour ago, Sherzod said: Hello, Could you make a simple testcase to check? Sure Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 13, 2023 Share Posted February 13, 2023 1 hour ago, awendisch said: Sure Thanks. You seem to be using this component incorrectly. Can you clarify what you would like to achieve? Quote Link to comment Share on other sites More sharing options...
awendisch Posted February 13, 2023 Author Share Posted February 13, 2023 Just now, Sherzod said: Thanks. You seem to be using this component incorrectly. Can you clarify what you would like to achieve? I am trying to create a method to call a screen mask , execute a code and finally hide the mask. My objective is to use this code all around my system, like whenever I needed i would just call it from a Library. Quote Link to comment Share on other sites More sharing options...
picyka Posted February 13, 2023 Share Posted February 13, 2023 2 minutos atrás, awendisch disse: Estou tentando criar um método para chamar uma máscara de tela, executar um código e, finalmente, ocultar a máscara. Meu objetivo é usar esse código em todo o meu sistema, como sempre que eu precisasse eu apenas chamá-lo de uma biblioteca. try ShowMask ('any text')); UniSession.Synchronize; ..... Reading data ..... finally HideMask; end; 1 Quote Link to comment Share on other sites More sharing options...
awendisch Posted February 13, 2023 Author Share Posted February 13, 2023 5 minutes ago, picyka said: try ShowMask ('any text')); UniSession.Synchronize; ..... Reading data ..... finally HideMask; end; Seems to work, I would try to do that. Thanks man. Still I would like to know why it didn't work the other way. 1 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.