TManagedFormPasEnvironmentDialog class

 

The TManagedFormPasEnvironmentDialog class descends from TManagedForm and makes the Environment Options dialog sizeable for Delphi 6 and 7. It has only one protected method MakeComponentsResizable which overrides the empty method of its parent class. It changes the Anchors property of all controls to make them move in a meaningful way. There is a twist to this though: In order to make that dialog sizeable the Window handle is recreated, which makes the list of pages on the Palette tab lose its content, so it must be saved before the change and reassigned afterwards.

%d bloggers like this: