Display a image on a Button with button.FlatStyle = FlatStyle.System
-
Is there a way to display a image on a Button with button.FlatStyle = FlatStyle.System. Currently I have applied XP theme to the controls.
-
Have you thought about just using a PictureBox control as your button? Or are you wanting the "effect" of a "downward click" when the mouse is clicked?
-
Yes. I need "downward click" "effect". When I do button.FlatStyle = FlatStyle.Standard, everything works fine but the look and feel of the button is like windows 2000 button.
-
Is there a way to display a image on a Button with button.FlatStyle = FlatStyle.System. Currently I have applied XP theme to the controls.
No. You have to implement this yourself. Check out this link. http://www.codeproject.com/cs/miscctrl/MgXpImageButton.asp I implemented something similar in a project. I hope this helps. Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
-
No. You have to implement this yourself. Check out this link. http://www.codeproject.com/cs/miscctrl/MgXpImageButton.asp I implemented something similar in a project. I hope this helps. Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
-
Yes you did. Thats why I pointed you to the article. It might be useful for you also. Anyway, thanks for your help.