[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Finds a form on the screen by its name.
Source position: forms.pp line 1229
public function TScreen.FindForm( |
const FormName: string |
):TCustomForm; |
FormName |
|
Name for the form to locate in the method. |
Form instance with the specified name, or Nil.
Visits the form instances in the CustomForms property, and compares the text in the Name properties to the value in FormName. CompareText is called to perform a case-insensitive comparison for the values.
The return value is the TCustomForm instance which matches the name in FormName, or Nil when CustomFormCount is 0 or FormName is not found in CustomForms.
|
Finds the form with the specified name, excluding designer forms. |
Version 3.2 | Generated 2024-02-25 | Home |