Page Rank

Subscribe

Categories

Recent posts

Alexa Rank

Properties of ListBox in vb


  • This topic explains about the properties of ListBox in vb programming.
  • Here contains the list of properties that used in ListBox control in vb programming.

ListBox ControlProperties of ListBox in vb

  • ListBox control in Visual Basic 6.0 is replaced is replaced by either Windows form ListBox control or CheckedListBox control in vb.net.
  • In ListBox, The name of some properties, events, methods and constants are different when compared to Visual Basic 6.0.
  • ListBox provides an interface to display a list of items
  • User can select one or more items from the listBox.
  • ListBox can be used to display multiple columns.

ListBox.Items propertyProperties of ListBox in vb

  • Get the items of the ListBox
  • Syntax

  • This property enables you to obtain a reference to the list of items that are currently stored in the ListBox.
  • With this reference, you can add items, remove items, and obtain a count of the items in the collection.

  • You can also manipulate the items of a ListBox by using the DataSource property.

1) To add items to the ListBox (Default Items)Properties of ListBox in vb

2) To add items to the ListBox (from TextBox)Properties of ListBox in vb

3) Count the no of items in the ListBoxProperties of ListBox in vb

4) Add items to the specified index of ListBoxProperties of ListBox in vb

5) To clear ListBox itemsProperties of ListBox in vb

6) To get selected item of the ListBoxProperties of ListBox in vb

7) Get selected items through index  - Properties of ListBox in vb

8) To remove a selected item from the ListBoxProperties of ListBox in vb

9) Remove selected item using indexProperties of ListBox in vb

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">