Print Page | Close Window

commandbar combobox dropdown

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=7744
Printed Date: 17 June 2025 at 8:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: commandbar combobox dropdown
Posted By: gaudetm
Subject: commandbar combobox dropdown
Date 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?



Replies:
Posted By: Oleg
Date Posted: 07 August 2007 at 12:40am
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


Posted By: gaudetm
Date Posted: 07 August 2007 at 2:12pm
Thanks


Posted By: TeddyHorse
Date Posted: 26 December 2007 at 1:39am
This is nice.
But how to do it under vb.net? VB6 samples cannot be converted to .net.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net