eduardosuruagy Posted May 12, 2020 Posted May 12, 2020 How can I call ShowMask inside a DataModule? Quote
Hayri ASLAN Posted May 12, 2020 Posted May 12, 2020 To able to show mask in datamodule, you need to call synchronize. We are not suggesting call synchronize in any datamodule event. Quote
eduardosuruagy Posted May 12, 2020 Author Posted May 12, 2020 10 minutes ago, Hayri ASLAN said: Para poder mostrar a máscara no módulo de dados, é necessário chamar a sincronização. Não estamos sugerindo a sincronização de chamadas em nenhum evento do módulo de dados. What reason do you not indicate? Quote
Wilton Ergon Posted May 13, 2020 Posted May 13, 2020 if you are activating a method on the datamodule, using a form, start showmask from your form ex: procedure tform.clickbutton; begin showmask('wait...'); UniSession.Synchronize; dmfunctions.yourprocedure; hidemask; end; Quote
Administrators Farshad Mohajeri Posted May 13, 2020 Administrators Posted May 13, 2020 The best way to use a mask is enabling the Mask in associated control such as button. We don't recommend using Synchronize in such cases. 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.