Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - tab key problem in Floating panes controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

tab key problem in Floating panes controls

 Post Reply Post Reply
Author
Message
sinanguler View Drop Down
Newbie
Newbie
Avatar

Joined: 06 October 2009
Location: Turkey
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote sinanguler Quote  Post ReplyReply Direct Link To This Post Topic: tab key problem in Floating panes controls
    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
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2010 at 6:44am
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.