Jump to content

ScreenMask and key Enter


Lena

Recommended Posts

Hi.

In Login form:

ScreenMask->Target=UniLoginForm1

ScreenMask->WaitData=true

ScreenMask->Messsage=Wait

ScreenMask->ShowMessage=true

 

When I press button I see ScreenMask message Wait then Main form open. All fine.

Now I want when user fill password and press key Enter also see ScreenMask message Wait then Main form open.

When I try this code Main form open but no ScreenMask message Wait.

How to correctly do it?

Thanks.

void __fastcall TUniLoginForm1::UniEditPasswordKeyUp(TObject *Sender, WORD &Key, TShiftState Shift)
{
 if(Key == VK_RETURN)
  {
   UniBitBtnEnterClick(this);
  }
}
Link to comment
Share on other sites

  • 1 month later...

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