|
VLPropertyList Reference
|
||||||||||||
|
This event is triggered before adding a new property to the control.
Syntax Private Sub object_AddingProperty(ByVal sName As String, sCatName As String, eEditorType As vlEditorType, bCancel As Boolean)
The AddingProperty event syntax has these parts:
Remarks When properties are added through LoadObjectProperties or LoadRecordset, the control automatically determines the editor type and category name for the properties. This event provides you an opportunity to override the category and editor type information determined by the control, even before the property object is actually created. Also, it provides an opportunity to altogether cancel creation of the property object. For example, during property creation using LoadRecordset, you may not want to create a property corresponding to an ID field, in such a situation, you may want to simply cancel creation of the property object corresponding to ID field by setting bCancel to True. |
||||||||||||
|
©2001-2004 Viklele Associates. All rights reserved. For new products and software updates check Viklele Associates. |