Calculates the Width and Height for theSpeedButton, and optionally renders the control.
Source position: buttons.pp line 355
protected procedure TCustomSpeedButton.MeasureDraw( |
Draw: Boolean; |
PaintRect: TRect; |
out PreferredWidth: Integer; |
out PreferredHeight: Integer |
); |
Used in the implementation of the CalculatePreferredSize and Paint methods.