ComboBox locks up when first populated

R

redhorse

I have a slide with two combo box ActiveX controls on it. The selection in
ComboBox1 controls both the content of ComboBox2 as well as whether ComboBox2
is visible.

By default, ComboBox2 has its visible property set to false (through some
initialization code run when the presentation starts).

When an item is selected from ComboBox1, depending on the value, ComboBox2
will be either:
A. Left alone and kept invisible.
B. Populated with items from one list, enabled and made visible
C. Populated with items from another list, enabled and made visible

On the first time that option B or C above is taken, the box will populate
correctly, showing the appropriate default value. However, when I click on
it, nothing happens at all. The box will not show the list, and I cannot
type anything into it directly. If I advance to the next slide and then
return, it will work properly then and for the rest of the time that the
presentaiton is in presentation mode.

I have tried explicitly setting the enabled property to true, but that
doesn't seem to fix it. Is there a known bug with the combo box that could
cause this, or am I forgetting to do something else to make it not lock up
when first populated with items?
 
R

redhorse

I think I found a workaround.

When the initialization code is run, which hides ComboBox2, I also populate
it with a single dummy value. So far, this has made ComboBox2 work every
time I make it visible and repopulate the item list.

Now my question is just a matter of curiosity as to why it would lock up
like that.
 
R

redhorse

Thanks, I'll give that a try.

My workaround decreased the frequency of the lockup, but it still tends to
happen when I first open the presentation.
 
Top