By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,185 Members | 1,420 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,185 IT Pros & Developers. It's quick & easy.

AfterUpdate for ComboBox in VB6?

P: 28
I would like to use the AfterUpdate option for a combobox in VB6. When the user selects a different item from the combobox, I want a label's caption to change. I accomplished this in VBA, but I haven't gotten it to work in VB6. Is this possible?

Thanks!
Nov 19 '07 #1
Share this Question
Share on Google+
1 Reply


lotus18
100+
P: 866
When the user selects a different item from the combobox, I want a label's caption to change. I accomplished this in VBA, but I haven't gotten it to work in VB6. Is this possible?

Thanks!
Yes, it is possible. Try to use the Click event for the combobox. Good Luck.

Expand|Select|Wrap|Line Numbers
  1. Private Sub Combo1_Click()
  2.      Label1.Caption=Combo1.Text
  3. End Sub
  4.  
Nov 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.