[单选题]

引用ListBox(列表框)当前被选中的数据项应使用()语句

A . ListBox1.Items[ListBox1.Items.Count]

B . ListBox1.Items[ListBox1.SelectedIndex]

C . ListBox1.Items[ListBox1.Items.Count-1]

D . ListBox1.Items[ListBox1.SelectedIndex-1]

参考答案与解析:

相关试题

引用ListBox(列表框)最后一个数据项应使用()语句

[单选题]引用ListBox(列表框)最后一个数据项应使用()语句A . ListBox1.Items[ListBox1.Items.Count]B . ListBox1.Items[ListBox1.SelectedIndex]C . ListBox1.Items[ListBox1.Items.Count-1]D . ListBox1.Items[ListBox1.SelectedIndex-1]

  • 查看答案
  • 引用列表框List1被选中项数据应使用( )。A、 List1.listB、 L

    [单选题]引用列表框List1被选中项数据应使用( )。A. List1.listB. List1.listCountC. List1.IndexD. List1.Text

  • 查看答案
  • 引用列表框(List1) 最后一个数据项应使用

    [单选题]引用列表框(List1) 最后一个数据项应使用A.List1.List(List1.ListCount)B.List1.List(List.ListCount-1)C.Lisl1.List(ListConut)D.List1.List(ListCount-1)

  • 查看答案
  • 引用列表框(List1)最后一个数据项应使用

    [单选题]引用列表框(List1)最后一个数据项应使用A.List1.List(List1.ListCount)B.List1.List(List.ListCount-1)C.List1.List(ListConut)D.List1.List(ListCount-1)

  • 查看答案
  • 引用列表框(List1)最后一个数据项应使用( )。

    [单选题]引用列表框(List1)最后一个数据项应使用( )。A.List1.List(List1.ListCount)B.List1.List(List.ListCount-1)C.List1.List(ListCount)D.List1.List(ListCount-1)

  • 查看答案
  • 引用列表框List1最后一个数据项应使用()。

    [单选题]引用列表框List1最后一个数据项应使用()。A . List1.List(List1.ListCount)B . List1.List(List1.ListCount-1)C . List1.List(ListCount)D . List1.List(ListCount-1)

  • 查看答案
  • 引用列表框(Listl)最后一个数据项应使用的表达式是()。

    [单选题]引用列表框(Listl)最后一个数据项应使用的表达式是( )。A.Listl.List(List..ListCount)B.Listl.List(Listl.ListCount-1)C.Listl.List(ListCount)D.Listl.List(ListCount-1)

  • 查看答案
  • 列表框中被选中的数据项的位置可以通过一个属性获得,这个属性是(  )。

    [单选题]列表框中被选中的数据项的位置可以通过一个属性获得,这个属性是(  )。A.ListB.ListIndexC.TextD.ListCount

  • 查看答案
  • 引用列表框的最后一项应使用( )。

    [单选题]引用列表框的最后一项应使用( )。A.List1.List(List1.ListCount-1)B.List1.List(List1.ListCount)C.List1.List(ListCount)D.List1.List(ListCount-1)

  • 查看答案
  • 在列表框中,当前被选中的列表项的序号由下列()属性表示。

    [单选题]在列表框中,当前被选中的列表项的序号由下列( )属性表示。A.ListB.IndexC.ListlndexD.Tablndex

  • 查看答案