JVCL Help:TJvFormAutoSize

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvFormAutoSize
run\JvFormAutoSize.pas


Summary

Component that will resize all components of the form whenever the form resizes.

run\JvFormAutoSize.pas


Pascal

 run\JvFormAutoSize.pas
 TJvFormAutoSize = class(TJvComponent);


Description

  1. JVCLInfo

The TJvFormAutoSize component will resize and move your controls whenever the form is resized. This is achieved by assigning the form's OnResize event to the components Resize method. The old event will be saved and called from this method.
To have your controls move and resize according to the forms size you should execute the following tasks:

  • Drop a TJvFormAutoSize component on a form.
  • Activate the component.

run\JvFormAutoSize.pas


About

Navigation

run\JvFormAutoSize.pas


Notes

Do not assign a new OnResize event handler after the component has been activated. If you do assign a new handler, TJvFormAutoSize will not work.

run\JvFormAutoSize.pas


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page