[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TCustomLabeledEdit.CreateInternalLabel

CreateInternalLabel - method for internally creating label.

## Declaration

Source position: extctrls.pp line 1041

`protected procedure TCustomLabeledEdit.CreateInternalLabel; virtual;`

## Description

CreateInternalLabel is a method used to allocate resources for the EditLabel property in the class instance. TCustomLabeledEdit creates the TBoundLabel class instance used in EditLabel, and updates its ControlStyle property to prevent selection at design-time (csNoDesignSelectable). The current class instance is used as the FocusControl in EditLabel.

No actions are performed in the method if EditLabel has already been assigned in the class instance.

CreateInternalLabel is used in the implementation of the Create constructor.

## See also

TCustomLabeledEdit.EditLabel |  | EditLabel - the label attached to the edit box.
TBoundLabel |  | Implements a label bound to another control.
TBoundLabel.FocusControl |  | Control focused when the accelerator key for the label is detected.