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

# TCustomForm.Show

Displays the form instance with support for High DPI scaling.

## Declaration

Source position: forms.pp line 733

`public procedure TCustomForm.Show;`

## Description

Show is a method used to display the form in an LCL application. It re-implements the method defined in an ancestor class, and does not call the inherited method.

Show ensures that scaling is performed using the automatic layout policy for the form instance. The PixelsPerInch setting for the Monitor is applied (when needed) by calling the AutoAdjustLayout method. This action is performed when both the Application and the form instance have their Scaled properties set to True.

Show sets the value in the Visible property to True, and calls the ShowWindow routine in the LCL interface at run-time using the Handle and WindowState for the form. The BringToFront method is called to apply the Z-Order for the form instance and its siblings.

## See also

TControl.Show |  | Makes the control visible by setting Visible to True.