When changing combo box all buttons become disabled.

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?
 
A

ag

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top