![]() Custom via OnResize: you can align controls yourself in code using the OnResize and OnChangeBounds events.Layout: controls can be automatically aligned in rows and columns (e.g.Anchoring means: the LCL will try to maintain the same distance from the anchor point. Anchored: you can anchor a control's sides (left, top, right, bottom) to its parent or to another control.Aligned: aligned controls fill up the remaining parental space at the top, bottom, left, or right, or fill the entire remaining space.You can move the control around with the mouse, and resize it freely. The control's size and position (Left, Top) is fully adjustable by the programmer. The control's position is fixed relative to its parent. Fixed design: this is the default when placing a control in the Designer.The LCL allows you not only to make a quick first design (moving controls around on a form using the mouse) but also later to set several key properties which will make the controls automatically adapt subsequently to changed content etc. If you want to run your program on several platforms, or if your captions are available in several languages, your controls need to adapt correctly to their environment. The LCL can automatically alter a control's size and position so it adapts to changes in font, theme and text or other content. ![]() 17.7.4 LCL interface bug, custom widget.17.7.3 OnResize/OnChangeBounds conflict with LCL properties.17.7.2 Overriding a LCL method and triggering a recompute.17.7 I get an infinite loop / How to debug autosizing?.17.6 Why is TForm.Width equal to TForm.ClientWidth?.17.5 Resizing stringgrid columns in form's OnResize event does not work.17.4 When enabling Anchors at runtime the control resizes, does not use the current values.17.3 Do I need to call Application.ProcessMessages when creating lots of controls?.17.2 Why does TForm.AutoSize not work when something changes?.17.1 Why does AutoSize not work in the designer properly?.15 DPI auto-adjustment and absolute layout auto-adjustment.9 Reduce overhead with DisableAutoSizing, EnableAutoSizing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |