delphi

Delphi – Listboxの使い方

DelphiのコンポーネントListboxの使い方について。

項目の取得

ListBox1.Items[0]

項目の追加

ListBox1.Items.Add(‘abc’);

項目の削除

ListBox1.Item.Delete(0);

項目の総数を取得

ListBox1.Items.Count

項目のクリア

ListBox1.Items.Clear;

コメントを残す

メールアドレスが公開されることはありません。