![]() |
HOWTO: Add ListBox Type Control to RibbonBar |
Post Reply ![]() |
Author | |
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
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 |