Arrow Key Strokes Getting Consumed |
Post Reply |
Author | |
GarethThom
Groupie Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 13 January 2007 at 2:09pm |
I am using v10.4 CommandBars, DockingPane and ShortcutBar to create a MDI application. The ShortcutBar is contained within a Docking Pane and contains groups of TreeView controls used to control navigation around the application. Most of our users like to be able to use the keyboard to access the navigation options so we have created shortcut keys (using CommandBars.KeyBindings) to activate the ShortcutBar and focus on the TreeView of the active Shortcut Item. However, when the Pane is collapsed in "Hidden" mode the keyboard shortcuts cause the TreeView controls not to receive the arrow key keyboard presses when the user next manually activates the Pane using the mouse. This VB6 application demonstates this bug. To replicate it, run the program and do the following:
Can someone please look into this as soon as possible? Thanks, |
|
GarethThom
Groupie Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Sorry, that should have read [Alt] instead of [Ctrl]
|
|
GarethThom
Groupie Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Has anyone from Codejock looked at this yet?
I have been waiting for over two weeks
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
uploads/20070125_045747_dpt.zip
Hello,
You create too much forms and visual basic don't know which must receive focus. we recommend as panes for TabControls and ShortcutBar don't use external forms but use controls on that form - pictureboxes or frames.
I attached modified sample that works without this problem.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
GarethThom
Groupie Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Unfortunately this is not an uption.
In our actual application (i.e. significantly more complicated than my example application) we do not just use one simple TreeView control - we use multiple TreeViews and ShortcutCaptions to identify what section the user is in. We therefore cannot attach multiple windows to one item when the controls are contained on the same form as the ShurtcutBar.
Also, having all the controls on the one form does not help keep the code tidy - it could turn many fairly simple forms into one very, very large complex one. And as I sure you will agree, the ShortcutBar is designed to allow *any* window to be attached to it, as per your official code examples.
Can you please look into sorting this problem in another way?
Thanks,
G.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Another way is to create UsrControl for each pane of ShortcutBar (to separate code) and in form with shortcutbar put this userControls to some PictureBoxes and Attach PictureBoxes to ShortcutBar.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |