Delphi's TFrames not keeping their size when reloading a project?
I have a project with a lot of frames, and when I reload my project, they are resized to a width and height of 443x270, or thereabout.
I do reside the frames at runtime, but I wish they w开发者_JAVA技巧ould remain as I create them at design time.
I use the non-embedded, classic undocked view. Anyone has any idea on how to have the frames keep their size between programming sessions?
Thanks!
I believe the secret here is to not set your frame alignment of your source frame at design time. It should be alNone. Once you PLACE the frame then adjust it to alClient (or do it in code if your adding fames dynamically)
精彩评论