Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 758
  • Last Modified:

multiselect-listbox

How can I select/deselect all elements of a multiselect-listbox in Delphi 2.

Please help!

Tobi
0
Tobi
Asked:
Tobi
1 Solution
 
mvz121697Commented:
for i := 0 to (Listbox1.Items.Count - 1) do
    ListBox1.Selected[i]:=true;

0
 
AKCommented:
And before:  ListBox1.MultySelect := True;
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now