Sign in Join
FPDoc Onlineexperiment

TCoolBand.CalcTextWidth procedure

Member of TCoolBandprotectedIn unit ComCtrls

Gets the number of pixels needed for Text using the Font in the parent control.

Declaration

pascal
procedure CalcTextWidth

Description

Updates the internal value used in the class instance when the parent TCoolBar control has been assigned. The TextWidth method in the Canvas on the parent control is used to get width for the value in the Text property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.