herculanojs Posted October 15, 2016 Share Posted October 15, 2016 Friends, how do so by clicking a button via keydown appears the existing screenmask in it? Running this way: if (key = vk_f8) and (btnConfirmar.Enabled) then btnconfirmar.Click; It runs the existing code on the button, but does not display the screenmask. This gives the feeling that the user is not running anything, when there is a lengthy process. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 15, 2016 Share Posted October 15, 2016 Hi, For now can you try this?!: if (key = vk_f8) and (btnConfirmar.Enabled) then begin //btnconfirmar.Click; UniSession.AddJS('ajaxRequest('+ btnconfirmar.JSName +', "click")'); end; Best regards. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted October 15, 2016 Author Share Posted October 15, 2016 fine, tanks 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.