[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.DoGetDockCaption

Returns the dock caption of AControl.

Declaration

Source position: controls.pp line 2097

protected procedure TWinControl.DoGetDockCaption(

  AControl: TControl;

  var ACaption: string

); virtual;

Arguments

AControl

  

The control whose dock caption string is requested.

ACaption

  

The dock caption to use.

Description

Asks the control for its default dock caption, then allows the OnGetDockCaption handler to adjust this string.

See also

TControl.GetDockCaption

TWinControl.OnGetDockCaption

  

This handler can provide a special DockCaption, different from the Caption default.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.