Results 1 to 3 of 3

Thread: VB-easy way to set backcoilor

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2002
    Location
    Australia
    Posts
    635

    VB-easy way to set backcoilor

    Code:
    im objanything As Object
    CommonDialog1.Flags = &H1&
    CommonDialog1.ShowColor
    Form11.BackColor = CommonDialog1.Color
    Command5.BackColor = CommonDialog1.Color
    Command2.BackColor = CommonDialog1.Color
    Command4.BackColor = CommonDialog1.Color
    Command1.BackColor = CommonDialog1.Color
    Frame1.BackColor = CommonDialog1.Color
    Picture1.BackColor = CommonDialog1.Color
    Command3.BackColor = Commondialog1.color
    Of course -modify the code to suit the controls that are on your program's form/forms.
    A.A. Fussy
    Babya Software Group

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    I do not know what you are trying to show here. I think everybody on this forum would know that already.

    BTW - You cannot change the command button's backcolor without actually setting its style property to graphical.

  3. #3
    Hyperactive Member BrandonTurner's Avatar
    Join Date
    Sep 2001
    Location
    East Lansing, Michiagn
    Posts
    268
    i think he is just showing how o use the common dialog box with color

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width