Print Page | Close Window

REMARK: Focus problem with panes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=11854
Printed Date: 06 May 2024 at 9:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: REMARK: Focus problem with panes
Posted By: Aaron
Subject: REMARK: Focus problem with panes
Date Posted: 17 August 2008 at 5:08am
Hi,
 
It's about time CJ would take the time and write an article about this. It seems that many members have problems with this and there isn't a solution (yet). I'm a "mouse user" myself, so I don't notice such things so easy but if you're a "keyboard user" and they are the ones who use the TAB key more often and expect they can use the key to "step" to all controls inside the app. I did an attempt once but did not succeed (I don't allow users to float panes !!!), sometimes the selected pane will always be selected and you can click or TAB what you want, it will stay selected. The general problem is that it's doesn't work all the time, and most of the time, isn't good enough.  
 
Contents of article would be:
  • What to use:
    • Form (and why, pro's and con's)
    • PictureBox (and why, pro's and con's)
  • How to set the Tabstop property of the controls inside (seems this will also affect the TAB key:
    • Form (and why, pro's and con's)
    • PictureBox (and why, pro's and con's)
  • Settings for floating panes (this seems THE problem with focus of panes)
 
I'm willing to provide a test project if a support member writes the article. They know best what to use and also know what / why developers implemented it. So this post is not about pointing fingers to anyone, just to have clarity about the focus problem.
 
If you feel I'm wrong about this or have remarks, just reply, please DO
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Replies:
Posted By: Oleg
Date Posted: 18 August 2008 at 2:26am
Hello,
 
yes, Focus thing was big PINA for us. Its internal VB thing and we can't control how VB set focus to controls. Agree that we need create article about it.
 
Main point - if developer wants tab all controls in all dockingpanes he have to use PictreBox/UserControls but don't allow float panes :-(
 
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 18 August 2008 at 5:50am
Hi,
 
Thanks for reply. And what we want to know is: Is there something to get around this except having non floating panes? It's a nice option and we really want to use it. There has to be a way...
 
Thanks
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Aaron
Date Posted: 18 August 2008 at 7:00am
Hi,
 
When using CTRL-TAB and select pane from popup window seems to force the pane to be selected. You can check this in the Action event. If some pane is floating and clicking another pane the event gets fired but returns still the ID of floating pane. If you could force the pane to be selected you could set TabStop = true for selected picBox and controls inside picBox. Just thinking out loud... Does this make any sense???
 
Seems only CTRL-TAB > select does this. ALT-F6 works also but once the control inside has focus it stops.
 
Note: ALT-F7 shows also popup window, is this by design? I'm sorry but I was trying something and I noticed this.
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Aaron
Date Posted: 26 November 2008 at 2:52pm
Hi,
 
Would be nice if support member would reply on previous reply
 
Thanks in advance
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 27 November 2008 at 2:56am
Hi,
 
What kind of panes do you have ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 27 November 2008 at 2:37pm
Hi,
 
I was thinking out loud with previous replies  I wanted to make a point so you could make some modification for the floating pane issue. I tested again with some test project I created a while ago and now I don't see what the (real) problem is anymore... Did you fix it in latest release ???
 
Maybe I have to dig a little futher to fully understand what is going wrong.
 
Thanks
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net