RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAddRemoveItem.CalcBounds Method

Calculates the size of the add/remove menu item.

Pascal
procedure CalcBounds; override;
C++
virtual __fastcall CalcBounds();

CalcBounds updates the Height, Width, and TextBounds properties to reflect current conditions (such as the item's caption and the current font). 

 

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