Add items to a poly list programatically in C++

Hi, You can use the following code to add an item programmatically

  TLargeButtonedItem *button = (TLargeButtonedItem*)AdvVerticalPolyList1->AddItem(__classid(TLargeButtonedItem));
  button->Caption = "Fred";

Regards, 
Pieter