Ian Branch 127 Posted February 4 (edited) Hi Team, D12. What would/could prevent me being able to widen my MainForm? There are no Constraints and the form is sizable. It is a Normal form. I can change the height OK, but not the width. 😞 Any thoughts/suggestions appreciated.  Regards & TIA, Ian Edited February 4 by Ian Branch Share this post Link to post
Brian Evans 105 Posted February 4 (edited) More information would help - lots of places such code could hide.  One place would be in FormCanResize but it could be elsewhere - likely includes width in some form so search for that. procedure TForm1.FormCanResize(Sender: TObject; var NewWidth, NewHeight:   Integer; var Resize: Boolean); begin   NewWidth := (Sender as Tform).Width; end;  Edited February 4 by Brian Evans Share this post Link to post
Ian Branch 127 Posted February 4 Hi Brian, I could be wrong, this is not in code, this is in the IDE at Design time. Â Ian Share this post Link to post
Ian Branch 127 Posted February 4 Found it! One of the components on the form ahd constraints for some reason. All fixed now. Thanks to all for your input.  Regards, Ian Share this post Link to post