Working with BDS2006 - C++Builder
How to reproduce the bug:
- Create a new VCL form project
- Add a new TFrame
- Add a TPanel and align it alCLient
- "Fill" the last TPanel with 5 TPanels, aligning them Top, Bottom, Right, Left and Client
- For each panel and the TFrame set all the Padding properties = 10 (dunno if this matters, i just have this set in this way)
- For each of the 5 TPanels inside the first, set the Constraints->MinHeight and MinWidth properties to some value
- Save the project
- Add a AdvSmoothPager on the project Form, and align it alClient
- Add the TFrame in the first page, align it alClient
- Run and resize the form: the Frame will handle the minimum size it can reach, but the form can be resized at any size no matter if smaller than the frame
In my real project (where i use a whole lot of TFrame and Smooth controls) i've also got some "Division by 0" error while resizing the main form, and also some "app closing" without any error. Right now i'm unable to identify from where these error arises.