G
Guest
In my application I am creating frames that contain controls programmatically.
I am wanting to set the locked property of these controls programatically to
prevent resizing but can not find how to do this. Any suggestions please?
Furthermore, in trying to find out how this is done at design time I found
that the locked property of a control can be set but not saved, so that on
subsequent visits to the control the locked property is reset to false. I
noticed also that the locked property is not coded in the InitializeComponent
subroutine of the designer but appears to be stored in the .resx file. Does
this mean that this property is not meant to be modified programmatically at
runtime or am I missing something?
I dont think this propblem is specific to this individual control either.
Any help appreciated.
Thanks
I am wanting to set the locked property of these controls programatically to
prevent resizing but can not find how to do this. Any suggestions please?
Furthermore, in trying to find out how this is done at design time I found
that the locked property of a control can be set but not saved, so that on
subsequent visits to the control the locked property is reset to false. I
noticed also that the locked property is not coded in the InitializeComponent
subroutine of the designer but appears to be stored in the .resx file. Does
this mean that this property is not meant to be modified programmatically at
runtime or am I missing something?
I dont think this propblem is specific to this individual control either.
Any help appreciated.
Thanks