Aula 07

Data de publicação: Oct 02, 2012 4:7:57 PM

8 - Objecto 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

PROGRAMA 21

PROGRAMA 22

PROGRAMA 23