property Property.Locked as Boolean

Specifies whether the property can be edited.

 TypeDescription 
   Boolean A boolean expression that specifies whether the property can be edited.  

By default, the Locked property is False. Use the Locked property to lock a property. A locked property is not editable, and doesn't look grayed. Use the Enabled property to disable a property. A disabled property is locked and looks grayed. Use the ForeColor property to change the foreground color for a locked property.  

Use the ReadOnly property to lock the entire control. Use the Enabled property to disable the entire control.


Send comments on this topic.
1999-2015 Exontrol.COM, Software. All rights reserved.