INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: CommonDialog1.ShowColor and MC11 Skins  (Read 2325 times)

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
CommonDialog1.ShowColor and MC11 Skins
« on: October 03, 2004, 06:27:26 am »

The Skins (I think) Screw This Control Up (CommonDialog1.ShowColor) In Visual Basic.

Basicly You can't see any of the colors because the control looks blank, if you click on a part of the control, you can see a color in that spot only.

is there a work around or somthing i can do to use this control?

I currently have the new VB SP6 installed

Quote
   ' The following line says: if the user will press the cancel Button, '
    ' treat it like if an error occurred in the program.                 '
    CommonDialog1.CancelError = True
    ' If an error occurred in the program, jump to the '
    ' CancelPressed part of the program, below.        '
    On Error GoTo CancelPressed
    ' Set the Flags property '
    CommonDialog1.Flags = cdlCCRGBInit
    ' Pop up the Color Selector '
    CommonDialog1.ShowColor
    ' Paint the from with the chosen color.                           '
    ' CommonDialog1.Color holds the color that the user has selected. '
    UserControl.BackColor = CommonDialog1.Color
    ' exit the Command1_Click() sub '
    Exit Sub
CancelPressed:
EndSub
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up