3在窗体上画一个名称为List1的列表框,一个名称为Labe11的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。下列能正确实现上述功能的程序是( )。A.B.C.D.

3在窗体上画一个名称为List1的列表框,一个名称为Labe11的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。下列能正确实现上述功能的程序是( )。

A.

B.

C.

D.


相关考题:

在窗体上画一个名为List1的列表框、一个名为Label1的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。下列能正确实现上述功能的程序是______。A.Private Sub List1_Click() Label1. Caption=List1. ListIndex End SubB.Private Sub List1_Click() Label1. Name=List1. ListIndex End SubC.Private Sub List1_Click() Label1. Name=List1. Text End SubD.Private Sub List1_Click() Label1. Caption=List1. Text End Sub

在窗体上画一个名称为List1的列表框,一个名称为Labell的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。 下列能正确实现上述功能的程序是 ______。A.Private Sub List1_Click() Label1.Caption=List1.ListIndex End SubB.Private Sub List1_click() Label1.Name=List1.ListIndex End SubC.Private Sub List1_click() Label1.Name=List1.Text End SubD.Private Sub List1_Click() Label1.Caption=List1.Text End Sub

在窗体上画一个名称为List1的列表框,列表框中显示若干城市的名称。当单击列表框中的某个城市名时,该城市名消失。下列在List1_Click事件过程中能正确实现上述功能的语句是A.List1.Removeltem List1.TextB.List1.Removeltem List1.CIearC.List1.Removeltem List1.ListCountD.List1.Removeltem List1.Listlndex

在窗体上画一个名称为List1的列表框,一个名称为Label1的标签,列表框中显示若干城市的名称。当单击列表框中的某个城市名时,该城市名从列表框中消失,并在标签中显示出来。下列能正确实现上述操作的程序是______。A.Private Sub List1_Click() Label1.Caption=List1.ListIndex List1.RemoveItem List1.Text End SubB.Private Sub List1_Click() Label1.Name=List1.ListIndex List1.RemoveItem List1.Text End SubC.Private Sub List1_Click() Label1.Cavtion=List1.Text List1.RemoveItem List1.ListIndex End SubD.Private Sub List1_Click() Label1.Name=List1.Text List1.RemoveItem List1.ListIndex End Sub

在窗体上画一个名称为Listl的列表框,一个名称为Labell的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。下列能正确实现上述功能的程序是______。A.Private Sub Listl_Click() Labell.Capfion=Listl.Listlndex End SubB.PrivateSubLial click() Labell.Name=Listl.Listlndex End SubC.PrivateSubListl click() Labell.Name=Listl.Text End SubD.Private Sub Listl_Click() Labell.Caption=Listl.Text End Sub

在窗体上画一个名称为Listl的列表框,一个名称为Label1的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。 下列能正确实现上述功能的程序是A.Private Sub List1_Click() Label1.Caption=List1.ListIndex End SubB.Private Sub List1-Click() Label1.Name=List1.ListIndex End SubC.Private Sub List1_Click() Label1.Name=List1.Text End SubD.Private Sub List1_Click() Label1.Caption=List1.Text End Sub

在窗体上绘制一个名称为List1的列表框,一个名称为Labe11的标签,列表框中显示若干个项目。当单击列表框中的某个项目时,在标签中显示被选中项目的名称。下列能正确实现上述操作的程序是A.PriVate Sub List1_Click() Labell.CaptiOn=List.ListIndex End SubB.PriVate Sub List1_Click() Labell.Name=listl.ListIndex End SubC.Private Sub List1_Click() Labell.Name=Listl.Text End SubD.Private Sub List1_Click() Labell.Caption=List1.Text End Sub

在窗体上画一个名称为List1的列表框,一个名称为Label1的标签。列表框中显示若干城市的名称。当单击列表框中的某个城市名时,在标签中显示选中城市的名称。下列能正确实现上述功能的程序是A.Private Sub List1 Click() Label1.Caption=List1.List- Index End SubB.Private Sub List1_Click() Label1.Name=List1. ListIn- dex End SubC.Private Sub List1 Click() Label1.Name=List1.Text End SubD.Private Sub List1_Click() Label1.Caption=List1.Text End Sub

在窗体上画一个名称为List1的列表框,一个名称为Labe11的标签,列表框中显示若干城市的名称。当单击列表框中的某个城市名时,该城市名从列表框中消失,并在标签中显示出来。下列能正确实现上述操作的程序是( )。A.B.C.D.