Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - REMARK: Focus problem with panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

REMARK: Focus problem with panes

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: REMARK: Focus problem with panes
    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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2008 at 2:56am
Hi,
 
What kind of panes do you have ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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.250 seconds.