PDA

Click to See Complete Forum and Search --> : VB-easy way to set backcoilor


aafuss
May 23rd, 2003, 05:33 AM
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.

techyspecy
May 23rd, 2003, 06:37 AM
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. ;)

BrandonTurner
May 23rd, 2003, 08:12 AM
i think he is just showing how o use the common dialog box with color