By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,473 Members | 3,504 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,473 IT Pros & Developers. It's quick & easy.

Application.EnableVisualStyles() And Image on the button

P: n/a
When I use Application.EnableVisualStyles()

Public Sub New()

MyBase.New()

Application.EnableVisualStyles()

Application.DoEvents()

InitializeComponent()

End Sub

And I set the Flatstyle property of a button to System, and I set the Image
property of the button, I can't see the image on the button.

What can I do to see the image ?
Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://dotnetrix.co.uk/buttons.html

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Sylvain Barde" <sb****@mediom.qc.ca> wrote in message
news:Om********************@news20.bellglobal.com. ..
When I use Application.EnableVisualStyles()

Public Sub New()

MyBase.New()

Application.EnableVisualStyles()

Application.DoEvents()

InitializeComponent()

End Sub

And I set the Flatstyle property of a button to System, and I set the
Image
property of the button, I can't see the image on the button.

What can I do to see the image ?

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004
Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.