Print Page | Close Window

HOWTO: Add ListBox Type Control to RibbonBar

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=5652
Printed Date: 20 June 2025 at 3:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO: Add ListBox Type Control to RibbonBar
Posted By: DDJJ
Subject: HOWTO: Add ListBox Type Control to RibbonBar
Date Posted: 30 November 2006 at 3:06pm
I'm looking for ideas regarding how to add a control to the ribbonbar which would let users select one or more items from a list.  For example, a list of contacts where the user just wants to see information for say 5 out of 500 contacts (this varies, but our users might have a lot of contacts, maybe up to 2,000).
 
I don't see how the the cj combobox control can be configured to allow each item in the list to be checked/unchecked.  I think the same thing is true for the new Gallery control.  Maybe the simple answer is to add a listbox control as a custom control, but I'm not sure that would blend in very well the the ribbonbar style.
 
Any ideas?
 
Dan
 
 



Replies:
Posted By: jcollier
Date Posted: 04 December 2006 at 12:05pm
I did something similar to that (although not on the RibbonBar) using the ReportControl with 1 column.  I just set ShowHeader = False and it's just like a fancier listbox.  I used that instead of a listbox because the listbox wouldn't give me a level of control that I needed but the ReportControl has worked well.

I have no idea if there's a better solution but that's what I did.


Posted By: DDJJ
Date Posted: 06 December 2006 at 9:14am
Thanks for the suggestion.  I'm debating whether to use the report control, or go with the old standard ListBox.  I've used the ReportControl in similar situations where it works great, except that I think the checkboxes seem to operate a little (for the lack of a better word) flaky.
 
I've had the need for some type of drop down list of items that can be checked on a number of occasions.  Seems like this might be something for cj to consider offering.
 
Dan
 



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