Jump to content

Recommended Posts

Posted
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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...