Accessories (1816)

Accessories (1816)

  1. In the ‘Misc/MAINUNIT.pas’ file locate the CreateUnivexForm for the form you’re working with.

  2. Set last parameter AllowFormResize to True to allow form resizing for that form. The picture below illustrates this for the promo form

     
  3. Remembering of the form size on close/restore on open should work already if you do #1

  4. To allow grid columns resizing, there is a AutoResizeColumnsOnResize property on the TUnStringGrid/TUnObjectGrid. If you set this to True, the grid columns will resize when the grid resizes

  5. Adjust anchor points on any components you wish to update dynamically

  6. Review the code for any instances where we programmatically set component size/position to hardcoded values (e.g. P_Panel.Width := 240 / colWidth).

  7. Set univexformbuttons (UFB) autopositioning to apCustom