Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - HOWTO: Add ListBox Type Control to RibbonBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Add ListBox Type Control to RibbonBar

 Post Reply Post Reply
Author
Message
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Add ListBox Type Control to RibbonBar
    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
 
 
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post 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
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.