Kevin_S
asked on
Combo Box in Tree View Control
Hi Folks -
Does anyone have any familiarity with putting combo boxes in treeview controls...? Basically I want to have a certain node that, when clicked to expand, displays a combobox. Can this be done in Access (I know it can be done in VB) I was playing around with an ActiveX Control (Microsoft ImageComboBox Control 6.0) That seems to be something like this but I don't have any familiarity with this...
Also - anyone know of a good reference for ActiveX controls and where to find out about how to code for them?
Thanks in Advance,
kev
Does anyone have any familiarity with putting combo boxes in treeview controls...? Basically I want to have a certain node that, when clicked to expand, displays a combobox. Can this be done in Access (I know it can be done in VB) I was playing around with an ActiveX Control (Microsoft ImageComboBox Control 6.0) That seems to be something like this but I don't have any familiarity with this...
Also - anyone know of a good reference for ActiveX controls and where to find out about how to code for them?
Thanks in Advance,
kev
ASKER
I want to display the combo box in the actual Tree View control on my form. In theory, I want to have certain nodes in the treeview that, when clicked, make a combo box appear next to them that the user can select items from. I tried to simply use a regular combo box and put it on top of the treeview but when I view the treeview in form view the combo is not longer visible (I haven't altered its properties in any way). I figured that this was caused by the treeview having the focus and, subsequestly, hiding the combo box but I cant set the focus to the combo or anything...
Any tips/thoughts as to how to achieve the desired result?
Thanks,
Kev
Any tips/thoughts as to how to achieve the desired result?
Thanks,
Kev
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nope. Just tried both a subform, command button, and listbox on the treeview and all of them went away!~)
Any other ideas..?
Any other ideas..?
Subform works for me (the others don't). I'm using Access 2002 - what are you using?
ASKER
MrRobin -
The subform does indeed work (I was a little *Fuzzy*yesterday) so this will work for my needs...
Thanks for the help :)
Kev
The subform does indeed work (I was a little *Fuzzy*yesterday) so this will work for my needs...
Thanks for the help :)
Kev
No problem! Glad I could help. Good luck with your crazy tree view/combo box thang!
Kind regards,
MrRobin
Kind regards,
MrRobin
I strongly recommend that you avoid using the ImageCombo - last time I tried to use it I found it to be a buggy piece of rubbish that Microsoft should be pretty ashamed of (try selecting text in the text box part using the mouse). Do you need a combo box with images in it? If not then how is the ComboBox in Access differentl to the one in VB that s causing you problems here?