|
-
toggle button picture disappears when button is disabled
hi everyone
I'm writing an applciation in wich I use a toggle button. On the button is a picture:
me.ToggleButton.picture = new bitmap(application.startuppath & "\afbeeldingen\min.png"
Now the button has to be set disabled on startup. So i write the following code:
me.Togglebutton.enabled=false
It works, but the picture on my button becomes a gray rectangle??? (so I don't see my picture anymore when disabled)
Anyone any ideas
thx in advance
Similar Threads
-
By James Graham in forum .NET
Replies: 4
Last Post: 10-23-2011, 02:47 PM
-
By DrunkinP in forum Java
Replies: 0
Last Post: 03-31-2005, 09:36 AM
-
By clashcityrocker in forum VB Classic
Replies: 0
Last Post: 10-23-2001, 12:24 PM
-
By clashcityrocker in forum VB Classic
Replies: 0
Last Post: 10-23-2001, 12:24 PM
-
By Victot Francis in forum VB Classic
Replies: 0
Last Post: 12-19-2000, 01:49 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks