When changing combo box all buttons become disabled.

  • Thread starter Thread starter Sally Chamness
  • Start date Start date
S

Sally Chamness

Hello everyone, Im working on a final VB.Net project which im building
in Visual Studio 2005.
In my application, I have a combo box with lists 10 items, when an item
from the combo box is selected an image of the item appears, as well as
3 ingredients of said item.
I also have a text box so that the user can enter in the number of
items they require, and a calculate button which calculates the number
of ingredients required for the desire amount of items.

However, when my application starts up, if I type in an amount for the
default item, my calculate and exit buttons work, but if I clickon my
combo box and change to a different item, all my buttons are disabled.

Does anyone have a suggestion as to why this may be happening, or what
I can do to stop it from happening?
 
Its realy hard to say what exactly happening without seeing the actual
code.

Anyway...all you can do now is enable buttons again on ComboBox's
change event.

Try it.
 
Back
Top