I have just spent quite a lot of time trying to make the Tools/Environment Options dialog of the Delphi 6/7 IDE sizable from within GExperts. Everything seemed to work fine until I found that changing the form's BorderStyle to bsSizable closes and recreates the handle of the form and in the process loses the content of the list box for the palette configuration.

I have just spent quite a lot of time trying to make the Tools/Environment Options dialog of the Delphi 6/7 IDE sizable from within GExperts. Everything seemed to work fine until I found that changing the form's BorderStyle to bsSizable closes and recreates the handle of the form and in the process loses the content of the list box for the palette configuration.

Changing the form's size (by setting the height and width) as such works fine, but allowing the user to adjust the size runs in the aforementioned problem.

Is there any way to make a Delphi form sizable without changing the BorderStyle?

(Yes, I know, spending that effort on Delphi 6/7 support is not an efficient use of my time, but hey, it's fun.)
http://stackoverflow.com/q/34254553/49925?sgp=2

Comments