Home > Back-end >  The properties of the selected checklistbox controls
The properties of the selected checklistbox controls

Time:09-27

Checklistbox controls the selected attributes have?

CodePudding user response:

 if CheckListBox1. Checked [0] then begin showmessage (' 1 'selected); The end; 


For reference only,

CodePudding user response:

Set the
 
For I:=0 to checklistbox1. Items. Do the count - 1
The begin
Checklistbox1. Checked: [I]=true;
end;

Delete the
Checklistbox1. Items. The Delete (I);


CodePudding user response:

There is no direct properties that can only traversal

CodePudding user response:

This smart traversal, as well as radioboxgroup

CodePudding user response:

refer to the second floor lyhoo163 response:
 Settings 
For I:=0 to checklistbox1. Items. Do the count - 1
The begin
Checklistbox1. Checked: [I]=true;
end;

Delete the
Checklistbox1. Items. The Delete (I);


delete index should have been to 0,

CodePudding user response:

reference 5 floor Bzdr reply:
Quote: refer to the second floor lyhoo163 response:
 Settings 
For I:=0 to checklistbox1. Items. Do the count - 1
The begin
Checklistbox1. Checked: [I]=true;
end;

Delete the
Checklistbox1. Items. The Delete (I);


delete index should have been to 0,
I mean run through all deleted
  • Related