• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

ComboBox on a Tab Control

I've got a combobox on a tab control with its draw mode set to OwnerDrawVariable.

When the combobox is on the tab control, i can't see the items.

If i take it off the tab control onto the main form, i can see the items.

Any ideas what i need to do here ??
1 Solution
What do you have in your DrawItem procedure?
mpdaltonAuthor Commented:
i've found the problem, it was the way i was doing an auto hookup, because the tab control has tabs within it, the combobox was 3 levels down from the main form and i was doing hookups down 2 levels.

seeing that the DrawItem wasn't getting called pointed me in the right direction.



Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now