![]() |
xtpControlComboBox |
Post Reply
|
| Author | |
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Topic: xtpControlComboBoxPosted: 01 April 2006 at 11:59am |
|
Hi, I added this control xtpControlComboBox (where the user can type something to search for) to my menu bar, but: how can I be able to let the user type soemthing in the combobox, then when he hit 'Enter' the program will execute the search? thank you,
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 April 2006 at 12:41pm |
|
Dim ExtendedBar As CommandBar
Dim x As CommandBarComboBox Set ExtendedBar = CommandBars.Add("Extended", xtpBarTop) With ExtendedBar.Controls Set x = .Add(xtpControlComboBox, ID_TOOLS_UNDO_COMBO, "Undo Combo") x.DropDownListStyle = True End With |
|
![]() |
|
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 April 2006 at 4:53pm |
|
now, how can I be able to detect what the user type, when he hit <Enter> button? Thank you,
|
|
![]() |
|
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 |