Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SOLVED: Focus problem with floating toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Focus problem with floating toolbar

 Post Reply Post Reply
Author
Message
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Focus problem with floating toolbar
    Posted: 26 August 2008 at 4:47pm
I have two command bars.  One contains a combobox.  The other contains a picture box custom control.  If the user floats the command bar that has the custom control, then no focus can be placed on the combo box or the form itself.  The user must re-dock the bar to set focus on anything else.  If the user does manage to do this, the application will crash when the use exits the form.    Any Ideas?
 
ActiveX 13.2.1

Strider
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 August 2008 at 4:01am
Hi,
 
Its because form don't have any focusable control.
 
Set TabStop of PictureBox to False and add some button to form.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2008 at 10:36am

Yes, this was the problem! 

My actual project has a somewhat complex custom control on it.  I had to make sure all sub-controls also had their tabstop set to false, not just the picture box.
 
Now it works like a charm!  Thank you.
ActiveX 13.2.1

Strider
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.191 seconds.