Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

blank combo box

Status
Not open for further replies.

wekkew

Programmer
Sep 28, 1998
123
GB
hello

VERY WEIRD ERROR THIS ONE!

have a vb5 project connecting to access97 db - data control not used at all.

form contains tab strip with combo box (not DBCombo box) showing fields from single table in db.

When project runs - combo box is blank, but not blank as in no values, but blank as in no border and no arrow!. It's almost as though it's transparent and in it's place is coloured rectangle the same colour as the form. If I set the back colour of the form to the same as the tab strip then the combo box is just invisible.
If I click where I know the combo box is then list drops down and the values from the db are there! From that point on the combo box behaves perfectly!

Any ideas?
I've tried the following:
refreshing
Calling Click event
Setting listindex property
Tab index
changing color of form/tab strip
setting focus

Nothing works!
Any help much appreciated!
Kate
 
enable it

via it's properties or code

ActiveSheet.ComboBox1.Enabled = True
or
ComboBox1.Enabled = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top