Message 1 of 4
How do I Toggle a picture on a button?

Not applicable
11-25-2002
03:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to get a picture on a command button to toggle to another picture when picked. I have got the process to work using the MyButton.Picture=LoadPicture("mypath") method. However, I was wanting to use a bitmap that I have saved inside one of my DLL files I use for my toolbars bitmaps. Can that be done? Is it possible to use a picture from a DLL file or am I stuck with having to hard code the path to my picture files?
I'm at a lost and I hope there is an way to do this. Any suggestion and advice would be greatly appreciated. Thanks in advance.
Jcurley@rbf.com
I'm trying to get a picture on a command button to toggle to another picture when picked. I have got the process to work using the MyButton.Picture=LoadPicture("mypath") method. However, I was wanting to use a bitmap that I have saved inside one of my DLL files I use for my toolbars bitmaps. Can that be done? Is it possible to use a picture from a DLL file or am I stuck with having to hard code the path to my picture files?
I'm at a lost and I hope there is an way to do this. Any suggestion and advice would be greatly appreciated. Thanks in advance.
Jcurley@rbf.com