Hi
I've got some buttons which I insert pictures in and declare as flat and set their borders to 0. When I run my program the pictures are not in the buttons and they appear as standard buttons please help If you know the cause.:confused:
Printable View
Hi
I've got some buttons which I insert pictures in and declare as flat and set their borders to 0. When I run my program the pictures are not in the buttons and they appear as standard buttons please help If you know the cause.:confused:
Which properties are you changing? 'Image' and 'flatstyle' are the ones you need. Also just looking at the button type in msdn it doesn't have a border property.
Somewhere, the settings are getting set back. However, you might consider not even using buttons in this case. After all, once you take away the caption, the 3D appearance, and the border, all you have is a small region on a form that responds to click events. That describes a panel pretty well, and might describe a PictureBox (haven't used one, but I think they respond to click events). Why use a button?