-
I need to resize my form based upon user input. I'm able to reposition everything, but my form ends up too short. lblstatus is a Label that sits at the bottom of my form so that the bottom of lblstatus touches the bottom of the form. Here is what I think should work, but doesn't. Apparently, I'm missing something very simple...
frmReport.Height = lblStatus.Top + lblStatus.Height
NOTE: lblStatus is in the right position, and it is of fixed size.
Thanks
-
I figured it out...
I guess I should be referencing form property ScaleHeight instead of Height.