SOLVED: Focus problem with floating toolbar |
Post Reply |
Author | |
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
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 |
|
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 |