nothing seems to be working, most of the questions asked here about this was given a simple answer this.width
or a reference to the form then formNamevariable.width
, even scale
isn't working
any help please?
CodePudding user response:
You have not tagged any language
and it is not clear what language you are working with. But from the appearance of the question, it is probably C#.
try this:
this.Size = new Size(400, 400);
CodePudding user response:
i found a solution:
i gotta give my form the full size it might become from the size property.
in the "Load", i give it the start size i want (which must be smaller so i can resize it to any bigger size) by the code
this.ClientSize = new system.drawing.size (x,y)
worked like a charm.