![]() |
commandbar combobox dropdown |
Post Reply ![]() |
Author | |
gaudetm ![]() Senior Member ![]() ![]() Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
![]() ![]() ![]() ![]() ![]() Posted: 06 August 2007 at 11:53am |
Is it possible to do the same as standard combobox in commandbars combobox in the event dropdown I eat the windows message to display the listbox and replace it with the datepicker control just ike in your date time picker sample code, but can I use the combobox from the commandbars in a toolbar or in a ribbon to do the same but with support for the theme?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Check VB\DynamicPopups\DynamicPopups.vbp - it has button that show form. same way for combobox:
Dim Combo As CommandBarComboBox
Set Combo = .Add(xtpControlComboBox, ID_TOOLS_UNDO_COMBO, "Undo Combo") Set Combo.CommandBar = CommandBars.Add("Form", xtpBarPopup) Combo.CommandBar.SetPopupToolBar True Combo.CommandBar.Title = "Form" |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
gaudetm ![]() Senior Member ![]() ![]() Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
![]() ![]() ![]() ![]() ![]() |
Thanks
|
|
![]() |
|
TeddyHorse ![]() Newbie ![]() Joined: 26 December 2007 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
This is nice.
But how to do it under vb.net? VB6 samples cannot be converted to .net. |
|
![]() |
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 |