sjn78 Posted September 17, 2003 Posted September 17, 2003 I have just setup my program using the XP theme support. Its all working except..... My buttons had images on them, eg Delete had Delete text and an image as well. When I change the button style to system, I lose the image. Is it possible to have an image on he button using the system style or isn't it possible? Thanks Quote
Winston Posted September 17, 2003 Posted September 17, 2003 I have just setup my program using the XP theme support. Its all working except..... My buttons had images on them, eg Delete had Delete text and an image as well. When I change the button style to system, I lose the image. Is it possible to have an image on he button using the system style or isn't it possible? Thanks not with the button in .NET and it cant be done with xp theme support with image u'd have to owner draw it Quote
pjv Posted September 17, 2003 Posted September 17, 2003 If you're using Application.EnableVisualStyles, then you need an Application.DoEvents immediately after it. It's a workaround for a bug in the framework that sometimes prevents imagelists from working with xp visual styles. -- Pete Quote
Prelsidente Posted December 30, 2003 Posted December 30, 2003 If you don't want to have the trouble of owner draw it, you might want to take a loot at this product i just found: Wiseworx .NET XButton Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.