Board index » cppbuilder » BCB 5 resizes the form by itself

BCB 5 resizes the form by itself


2003-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
 
 

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