tab key problem in Floating panes controls |
Post Reply |
Author | |
sinanguler
Newbie Joined: 06 October 2009 Location: Turkey Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 15 December 2009 at 8:28am |
i have a problem with floating pane's controls
i can't use tab key in a user control (ex: combo in user defined control) i can't change focus control by pressing tab key in floating pane but i can use when pane is docked please help me |
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
First, your UserControl should not reside in the main-project.
Put it in a separate activex.ocx (the reason ist the threading-modell used bei VB6).
Second, a pane should contain a form, not a picturebox.
The TAB-Key is handled from VB6-runtime within a form or containercontrol.
The mainproblem, vb6 has, is to recognize the current form and control (Screen.ActivForm and Screen.ActiveControl) if a ContainerControl like PicureBox is floated, because his ParentHwnd is changed away from the current form.
If you use Forms in Panes it would work much better (and its easyer to handle), but you can not TAB across Forms.
You must handle this by yourself.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |