home *** CD-ROM | disk | FTP | other *** search
-
- Private Sub UserControl_Initialize()
-
- ' When the control initializes, the button is
- ' not "lighted".
- mbooButtonLighted = False
-
- ' Since the control's status has just been
- ' initialized, the StatusChanged event should
- ' be raised.
- RaiseEvent StatusChanged(0)
-
- ' Since UserControl's BackColor property will
- ' be changed if the control is "selected", its
- ' initial value must be stored in a temporary
- ' variable.
- molcBackColor = UserControl.BackColor
-
- End Sub
-