diff --git a/docs/xml/lcl/forms.xml b/docs/xml/lcl/forms.xml index 2cb3cc9c34..09190e90e2 100644 --- a/docs/xml/lcl/forms.xml +++ b/docs/xml/lcl/forms.xml @@ -1905,49 +1905,10 @@ TFiler instance where property definitions are added. - - Gets the preferred height and width for the control used during auto-sizing. - -

- CalculatePreferredSize is an overridden method in TCustomFrame. It ensures that the inherited method is not called when the frame is an un-parented component and visible on the form designer. This allows the dimensions to be freely resized on the design surface. Values in the PreferredWidth, PreferredHeight, and WithThemeSpace arguments are not modified at design-time. -

-

- If the frame has an Owner (parent form) at run-time, the inherited method is called to get the values used in the LCL auto-sizing algorithms. -

-
- - TWinControl.CalculatePreferredSize - -
- - Preferred width for the control. - - - Preferred height for the control. - - - True if additional space is reserved in the width or height for theme details. - - - - - Updates the style flags in the window creation parameters for the control. - - -

- CreateParams is an overridden method in TCustomFrame, and calls the inherited method on entry. It extends the inherited method by updating style flags in the Params argument when both Parent and ParentWindow are unassigned (or deferred). It ensures that WS_GROUP, WS_TABSTOP, and WS_CHILD flags are removed from the style flags when the frame instance is not parented. -

-
- - Added in LCL version 2.2.0. - - - - -
- - Creation parameters updated in the method. - + + + + Updates control style flags to reflect the transparency for the frame.