I have a form in VB.NET which uses docking etc to change the size of controls and the form etc at run time. However, I cant seem to set the minimumsize parameters of the form at run time - only at design time. I was trying to do this

me.minimumsize.width=x

in the form_load event but it don't like it

says "Expression is a value and therefore cannot be the subject of an assignment" ??

Does anyone know if I am doing something wrong or is there a way around this ??