contents   index   previous   next

AutoAdd Property


Returns/sets whether all the controls on a form are automatically enhanced by UIToolX. Used in conjunction with UI_Refresh.




UIToolX1.AutoAdd (ByVal Data As Boolean)




UIToolX1.AutoAdd = True




AutoAdd can be used to add all the controls to the collection of controls under UIToolX.


Note: Only controls that are included in the AddTypes collection will be enhanced by UIToolX.




Usage Notes


When AutoAdd is set to True all controls that are in the Type collection will be enhanced by UIToolX. All controls will inherit the UI_* settings for border style and color settings. When using AutoAdd you can still use the AddControl method. In this way you can set the style for all controls then change the controls that need to have different style settings than the majority of other controls.