Help with ComboBox (1 Viewer)

artificiality

Registered User.
Local time
Today, 23:28
Joined
Jan 30, 2007
Messages
20
How do we do in VB so that a user can select an item from a ComBoBox
and that the event fired by the item selected execute a certain code ?
 

boblarson

Smeghead
Local time
Today, 13:28
Joined
Jan 12, 2001
Messages
32,059
Put the code you want in the combo box's AfterUpdate event.
 

artificiality

Registered User.
Local time
Today, 23:28
Joined
Jan 30, 2007
Messages
20
In the Form_Load() Sub I wrote the AddItem() functions for the combobox.
I have called the ComboBox Graph.
What do I need to put in the Graph_Change() Sub ?
Where is the AfterUpdate() event ?
 

artificiality

Registered User.
Local time
Today, 23:28
Joined
Jan 30, 2007
Messages
20
I did it with AfterUpdate and it does not catch the event.

Can you please help ?
 

boblarson

Smeghead
Local time
Today, 13:28
Joined
Jan 12, 2001
Messages
32,059
What code, exactly, did you put in the combo box's AfterUpdate event?
 

Users who are viewing this thread

Top Bottom