Hi

How do i change the color of the button using code? i cant change it using the toolbar because i created the button using code as well.

Thanks

Does the button have a BackColor property ?
button.BackColor = Color.Red;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.