Jump to content

Recommended Posts

Posted

Hi.

On Form:

UniEdit1 TabOrder=1

UniEdit2 TabOrder=2 //OK focus

UniEdit3 TabOrder=3 //OK focus

UniBitBtn TabOrder=4 //I can not set the focus by pressing TAB

 

I show this Form ShowModal()

In event UniFormShow code UniEdit1->SetFocus();

Then I press key TAB 3 times.

Button does not want to receive focus. How correctly?

Thanks.

 

 

Posted

Hi Lena, 

 

I had the same problem.
 
Two solutions for your case:
 
1) add to UniEdit3 ClientEvents.ExtEvents.specialkey:
 
 
       if (! (e.shiftKey) && (e.getKey () == 9)) {
 
       e.stopEvent ();
       MainForm.UniBitBtn1.focus (); }
 
post-1298-0-36321700-1430224033_thumb.png
 
2) Create a new component Tuniedit
 
     with a new property onBlurControl.
 
     SEE EXAMPLE. 
 
 
 
Regards 
 
 

 

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