Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted
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

Posted

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

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...