home *** CD-ROM | disk | FTP | other *** search
- DefInt A-Z
- Const MhTrue = -1, MhFalse = 0
- Dim FinalColor& ' For passing back / forth
-
- Sub MhEditColors (YourControl As Control, FocusControl As Control)
-
- ' Calling this SUB causes the EditCol.Frm to be
- ' activated
-
- FinalColor& = YourControl.BackColor
- EditColors.Show 1
- YourControl.BackColor = FinalColor&
- YourControl.Refresh
- FocusControl.SetFocus
-
- End Sub
-
- Function SetFinalColor& (FC&)
-
- ' Input is final color to set
- ' Output is former color (passed from your code)
- SetFinalColor& = FinalColor&
- FinalColor& = FC&
-
- End Function
-
-