Hey sorry, maybe i was drunk when i wrote that. :D :p
A white toolbar
the only thing is that you have to set the .appearance property to flat. Then it inherits .backcolor from it's parent control.
If you want a toolbar that actually has buttons on it then... you are in for about 20 times...
your original code... only had one error. You want to open a command not a database connection... leave the DbConnection closed until you execute the query
If you were to change the line cn.open to cmd.connection.open your code would be fine.
Hows going bull??
Seeing as its now almost 8 months since you posted your question I am guessing you already answered your Q somehow...
How to change the background color of a toolbar:
1.Place a panel on your form
2.Set the panel's docked property to Top (the default for a toolbar)
3.Set...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.