   C++Builder_______________________155

      ,      -
,   ,      .

   ,   ,  Items,
    TStrings.     -
 ,          
.        ,  -
    TStrings (.  3.2.4   
 15)  Clear, Add  .

  ListBox   MultiSelect,  -
    .  MultiSelect = false (  -
),        .   
       Itemlndex,  
  .      ,  Itemlndex = -1. -
  Itemlndex     .  -
 Itemlndex = -1.       -  -
, ..    ,      
 ,    , ,    -
reate ,     

ListBoxl->ItemIndex = 0;

    (MultiSelect = true),   Ite-
mlndex    ,    . 
  ,    ,  
 bool Selected[int Index].

     MultiSelect == true   
ExtendedSelect.  ExtendedS elect = true,     -
 ,    ,    Shift  
   .        -
 ,         Ctrl.
  ExtendedSelect = false,   Shift  Ctrl    .

 Columns   ,    
,         ListBox.

 Sorted     .  Sorted =
true        ,   .

 Style,   IbStandard (  ) -
  .   Style      -
 ,   .

   ,    ListBox     -
 CheckListBox.    ,  ListBox,    -
  ,    . 
   ,       
    -   , ,
     .

 ,   CheckListBox  , -
 ListBox,   ,   .
   CheckListBox  ,    -
     .  
CheckListBox,   ,     3.3.5.

    ComboBox.    -
   Style,    
 :