VB如果选择组合框,则出现textlabel [英] VB if combobox selected, textlabel appears
本文介绍了VB如果选择组合框,则出现textlabel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨伙计们,
i想知道代码出错的时候,我正在选择一个组合框保险杠,标签文字应自动出现而不是点击按钮..
任何帮助?谢谢!!
hi guys,
i would like to know what when wrong with the codes, i am working on select a combobox bumpers, the label text should automatically appear instead of a button click..
any helps?? thanks!!
If cmbpart.SelectedItem = "Bumpers" Then
Txtpartdp.Text = "A metal/rubber bar attached to either end of the car"
TxtPtCost.Text = "$1000"(
Txtptsp.Text = "$800"
Txtptloc.Text = "Japan"
推荐答案
1000(
Txtptsp.Text = < span class =code-string>
1000"( Txtptsp.Text = "
800
Txtptloc.Text = < span class =code-string> Jap
使用Combobox事件,例如: SelectedIndexChanged [ ^ ]事件。
Use Combobox events, for example: SelectedIndexChanged[^] event.
这篇关于VB如果选择组合框,则出现textlabel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文