![]() |
Retaining Focus |
Post Reply
|
| Author | |
LittleJK
Senior Member
Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Quote Reply
Topic: Retaining FocusPosted: 18 April 2007 at 10:04am |
|
Thanks... we'll see if that works out.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 April 2007 at 1:26am |
|
Hello,
try this
Private Sub CommandBars_CommandBarKeyDown(CommandBar As XtremeCommandBars.ICommandBar, KeyCode As Long, Shift As Integer)
If KeyCode = 13 And Not CommandBar.SelectedControl Is Nothing Then If CommandBar.SelectedControl.Type = xtpControlComboBox Then KeyCode = 0 End If End If End Sub |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
LittleJK
Senior Member
Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 April 2007 at 3:57pm |
|
Hi, we have a command bar that contains a combo box in which we want to keep the focus on the text inside the combo box whenever we hit enter. Currently when we hit enter it loses focus and then you have to click inside the drop down again. Is there anyway like using control notify event to keep the focus? We are using 10.42... possibly 11.1 will do the job?
Thanks |
|
![]() |
|
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 |