xtpControlComboBox |
Post Reply |
Author | |
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
Posted: 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
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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: 220 |
Post Options
Thanks(0)
|
first of all, thank you for reply, your code did give an idea how to fix my problem, because your code will let me creat a new toolbar with a combobox, but I was looking for the combbox at the right corner of the menu bar. 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 |