Board index » cppbuilder » BCB 5 resizes the form by itself
PC Hua
![]() CBuilder Developer |
PC Hua
![]() CBuilder Developer |
BCB 5 resizes the form by itself2003-10-24 08:18:00 AM cppbuilder33 In my program, there are forms which sometimes change their size after compile. For instance, my main form has width=649. Sometimes it changes to 640, but not always. Do you have similar problem? PC HUA -- _/\__/\__/\__/\__/\__/\_ www.huaonline.com My Homepage is my Castle |
Shon
![]() CBuilder Developer |
2003-10-24 10:44:51 PM
Re:BCB 5 resizes the form by itself
It is possible that you have set the Position property of the form to
poDefault. If so, try changing it to poDefaultPosOnly so the form will appear at different positions but will maintain it's compile-time size. You can also set the Width or/and Height properties to Constraints->MinWidth or/and Constraints->MinHeight in FormCreate event. Shon "PC Hua" <home-at-huaonline.dot.com>wrote in message | In my program, there are forms which sometimes change their size after | compile. For instance, my main form has width=649. Sometimes it changes to | 640, but not always. | Do you have similar problem? | | PC HUA | -- | _/\__/\__/\__/\__/\__/\_ | www.huaonline.com | My Homepage is my Castle |