Solved

multiselect-listbox

Posted on 1998-01-02
2
740 Views
Last Modified: 2010-04-04
How can I select/deselect all elements of a multiselect-listbox in Delphi 2.

Please help!

Tobi
0
Comment
Question by:Tobi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
mvz121697 earned 50 total points
ID: 1355098
for i := 0 to (Listbox1.Items.Count - 1) do
    ListBox1.Selected[i]:=true;

0
 

Expert Comment

by:AK
ID: 1355099
And before:  ListBox1.MultySelect := True;
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
select query - oracle 16 103
Graphics32 under Delphi 10.1 Berlin 2 187
MS Access from Delphi 31 106
Delphi Firemonkey send email on Android 1 83
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question