|
VLFormDesigner Reference
|
||||||||||||||||||||
Locks contained controls as specified by the method parameters. User cannot move, resize or align a control that has been marked as locked.
Syntax object.LockControls(ByVal eScope As vlScope, Optional ByVal aControl As Object = Nothing)
The LockControls method syntax has these parts:
Settings The settings for eScope are:
  RemarkThis method along with UnockControls method, allows you to provide control locking / unlocking functionality with different level of scope with just a few lines of code. When lock scope is vlScopeAll, even those controls that are added after calling LockControls will be locked automatically. This behavior will continue till you unlock atleast one control, or till you again call LockControls with a different scope. |
||||||||||||||||||||
|
©2002-2004 Viklele Associates. All rights reserved. For new products and software updates check Viklele Associates. |