, , , , _______________________963



_property int Imagelndex



 Imagelndex   ,  
   .       -
 Images    TMenu  TPopupMenu    0.
  Imagelndex = -1,    .

       ( Images
 NULL),        Bit-
map   TMenuItem.  Bitmap    Images 
NULL    Imagelndex.     Bit-
map    .

Items    TList

        TList
 TList



_property void * Items[int Index]



 Items    ,     TList.
 Index    .  , -
   (    ).

 Items      ,   -
  .     ,   Items  
void *, ..   .    -
 .       -
.    ,     TList.

     ,   Items,
   ,        NULL.    -
  ,       TList 
Pack,    ,     .



//   
TList *List = new TList;

//         :

List->Add((char *)malloc(10));

List->Add((char *)malloc(10)) ;

//      Items
List->Items[0] = "";

List->Items[1] = "bbb";

//    (  ""  "bbb")
for (int i = 0; i < List->Count; i++)
ShowMessage((char *)List->Items[i]);

//     
free(List->Items[0]) ;

//      
31*