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

TFindDialog.Top

Coordinate for the Top edge of the dialog form.

Declaration

Source position: dialogs.pp line 504

public property TFindDialog.Top : Integer
  read GetTop
  write SetTop;

Description

Top is an Integer property which contains the vertical coordinate where the top edge of the dialog form is located. The default value for the property is -1 and represents the unassigned value.

The property value is read from the Top property in the internal TForm instance for the dialog (when assigned). Changing the value in the property causes the Top property in the dialog form to be updated with the new coordinate value. The value for the property is updated in the CalcPosition method when the dialog is executed.

Left and Top are used in the CreateForm method to set the default coordinates for the dialog form.

See also

TFindDialog.Left

  

Coordinate for the Left side of the dialog form.

TFindDialog.CalcPosition

  

Determines the position for the dialog form and captures its coordinates.

TFindDialog.Execute

  

Displays the dialog form and responds to button clicks.

TFindDialog.CreateForm

  

Creates and configures the internal form displayed for the dialog.


Version 4.0 Generated 2025-05-03 Home