|
VLFormDesigner Reference
|
||||||||||||||
This event occurs before LoadControlData, during LoadLayout operation. It provides an opportunity to the programmer to perform the control loading instead of letting the form designer do it. This event should be used to load controls in a control array. (see Remark )
Syntax Private Sub object_CreateControl (ByVal sType As String, ByVal sName As String, ByVal ContainerCtrl As Object, ByVal nIndex As Long, ByRef aNewControl As Object)
The CreateControl event syntax has these parts:
Remark This event is used to provide support for use of control arrays with VLFormDesigner.
VLFormDesigner cannot add new members to a control array. If you need to use
control arrays, then you will have to load controls on behalf of VLFormDesigner
during this event. Following piece of code demonstrates the use of this event : |
||||||||||||||
|
©2002-2004 Viklele Associates. All rights reserved. For new products and software updates check Viklele Associates. |