home *** CD-ROM | disk | FTP | other *** search
-
- Private Sub UserControl_InitProperties()
-
- ' If the control's container is in design mode,
- ' disable the Timer, which causes the control to
- ' not function.
- tmrChkStatus.Enabled = Ambient.UserMode
-
- ' Set the default values for some properties.
-
- ' The Caption property defaults to the name
- ' assigned to the control by its container.
- Caption = Ambient.DisplayName
-
-
- End Sub
-
-
- Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
-
- ' If the control's container is in design mode,
- ' disable the Timer, which causes the control to
- ' not function.
- tmrChkStatus.Enabled = Ambient.UserMode
-
- End Sub
-