RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCombo.SetItemHeight Method

Sets the value of the ItemHeight property.

Pascal
procedure SetItemHeight(Value: Integer); virtual;
C++
virtual __fastcall SetItemHeight(int Value);

SetItemHeight is the protected write implementation of the ItemHeight property. Although SetItemHeight never raises an exception, in some cases it does not change the value of the ItemHeight property. ItemHeight can only be changed for some TCustomCombo descendants, and then only under specific circumstances.  

For example, TComboBoxEx never allows the ItemHeight property to change. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!