Visual Basic 60 List Box and Combo Box











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=g9b1Zc4WQoc

ListBox and ComboBox controls present a set of choices that are displayed vertically in a column. If the number of items exceed the value that be displayed, scroll bars will automatically appear on the control. These scroll bars can be scrolled up and down or left to right through the list. • Private Sub Combo1_Click() • If Combo1.Text = Red Then • Label1.ForeColor = vbRed • ElseIf Combo1.Text = Blue Then • Label1.ForeColor = vbBlue • ElseIf Combo1.Text = Green Then • Label1.ForeColor = vbGreen • End If • End Sub • Private Sub Form_Load() • Combo1.AddItem Red • Combo1.AddItem Blue • Combo1.AddItem Green • List1.AddItem Bold • List1.AddItem Italic • List1.AddItem Underline • End Sub • Private Sub List1_Click() • If List1.Text = Bold Then • Label1.FontBold = True • ElseIf List1.Text = Italic Then • Label1.FontItalic = True • ElseIf List1.Text = Underline Then • Label1.FontUnderline = True • End If • End Sub • #RABIUL iSLAM Official

#############################









Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org