diff --git a/docs/xml/lcl/forms.xml b/docs/xml/lcl/forms.xml index dfdba164d8..c035cae170 100644 --- a/docs/xml/lcl/forms.xml +++ b/docs/xml/lcl/forms.xml @@ -6163,9 +6163,9 @@ Usage:
- HintWindow := THintWindow.Create(nil);
- Rect := HintWindow.CalcHintRect(0, 'This is the hint',nil);
- HintWindow.ActivateHint(Rect, 'This is the hint');
+HintWindow := THintWindow.Create(nil);
+Rect := HintWindow.CalcHintRect(0, 'This is the hint',nil);
+HintWindow.ActivateHint(Rect, 'This is the hint');
+ Calls GetKeyState to get the virtual key codes for the following: +
++ The return value is a set type with the TShiftState values corresponding to the virtual key codes. It may be an empty set when none of the virtual keys are detected. +
++ TGetDesignerFormEvent is an object function type which specifies an event handler signalled to get the form instance with the designer object for APersistent. The return value contains the TCustomForm instance which contains the designer object for the persistent object, and may be unassigned (Nil) if a form hosting APersistent cannot be located. +
+
+ TGetDesignerFormEvent is the type used for the OnGetDesignerForm variable in the
+ OnGetDesignerForm is a TGetDesignerFormEvent variable that contains the event handler signalled to get a form with a design surface for the specified form or control. +
+ GetDesignerForm is a TCustomForm function used to get the form instance with the designer object for the specified control or persistent object instance. The function is overloaded to allow use of a TControl or a TPersistent instance to locate the form. +
++ The return value contains the top-most TCustomForm instance with a TIDesigner instance for the value in Control or APersistent. The return value is Nil when a form is not found which hosts the specified argument. +
++ FindRootDesigner is a TIDesigner function used to get the root designer object for the specified persistent object instance. The TIDesigner instance is found on the Form where the object (or its parent) is hosted in the Lazarus IDE. The return value is Nil when a parent form for APersistent is not found. +
++ Calls GetParentDesignControl to get the return value for the function. Raises an EInvalidOperation exception if a TCustomDesignControl instance is not found for the specififed control. +
++ Used in methods which perform scaling operations for TCustomForm or TControl instances. +
+