Hola.
No se si te sirva pero, de forma similar al enlace que puso
aguml un ejemplo usando las propiedades
ItemHeight y
Height para lograr el cometido:
Código PHP:
void __fastcall TForm1::FormCreate(TObject *Sender)
{
ComboBox1->Style = csOwnerDrawVariable;
ComboBox1->ItemIndex = 0;
}
void __fastcall TForm1::ReduceClick(TObject *Sender)
{
ComboBox1->ItemHeight = ComboBox1->ItemHeight - 2;
ComboBox1->Height = ComboBox1->Height + 1;
}
void __fastcall TForm1::btnIncreaseClick(TObject *Sender)
{
ComboBox1->ItemHeight = ComboBox1->ItemHeight + 2;
ComboBox1->Height = ComboBox1->Height + 1;
}
Efecto:
Saludos
Edito: Y agregando la rutina de
roman (que no había visto al momento de este), ciertamente queda mucho mejor presentado.