Is there a way to 'lock' a checkbox like you can lock a textbox?
Matt Wyant
MDWyant@SRPnet.com
Printable View
Is there a way to 'lock' a checkbox like you can lock a textbox?
Matt Wyant
MDWyant@SRPnet.com
"Matt Wyant" <MDWyant@SSRPnet.com> wrote:
>
>Is there a way to 'lock' a checkbox like you can lock a textbox?
>
>Matt Wyant
> MDWyant@SRPnet.com
Matt,
There is not a Locked property for a checkbox as there is with a textbox.
When I want to lock a checkbox, I place the checkbox inside a frame control.
I then set the BorderStyle property of the frame to none and set it's Enabled
property to false. doing this "Locks" all controls that are inside the frame.
Setting the Enabled property to true allows you to access the checkbox.