Aula 07
Data de publicação: Oct 02, 2012 4:7:57 PM
8 - Objecto ListBox
8 - Objecto ListBox
OPERAÇÕES COM LISTBOX
OPERAÇÕES COM LISTBOX
Inserir item
Nome = TextBox1.Text
ListBox1.Items.Add(Nome)
Remover item selecionado
nome = ListBox1.SelectedItem
ListBox1.Items.Remove(nome)
Limpar items
ListBox1.Items.Clear()
Contar items
total = ListBox1.Items.Count
Label2.Text = total
Exercícios Práticos
Exercícios Práticos
PROGRAMA 21
PROGRAMA 21
PROGRAMA 22
PROGRAMA 22
PROGRAMA 23
PROGRAMA 23