Load Bitmap ver 12
Moderators: Dorian (MJT support), JRL
Load Bitmap ver 12
I entered a file name into the LoadBitmap property of a button but it does not show up on the button. Also the manual makes reference to the Glyph property.. What is that?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Ignore the Glyph property - it's an internal thing.
Provide a filename of a BMP in LoadBitmap to import the image. Make sure you hit Enter, or click away from the property to make it take effect.
A bug we've just been made aware of is that the filename is wrongly stored in the dialog block meaning that at run time it will try to load the file from disk again rather than use the static image data. This will be fixed in the next release.
Provide a filename of a BMP in LoadBitmap to import the image. Make sure you hit Enter, or click away from the property to make it take effect.
A bug we've just been made aware of is that the filename is wrongly stored in the dialog block meaning that at run time it will try to load the file from disk again rather than use the static image data. This will be fixed in the next release.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
If you don't want the bitmap stored in the dialog, then load it at run time instead. Don't add it to the dialog. Instead load it at runtime like this:
SetDialogProperty>Dialog1,MSButton1,LoadBitmap,c:\bla\myimage.bmp
This way you only load the image from file at runtime. Of course you'd need to make sure the bmp file was always present in the location the script expects.
SetDialogProperty>Dialog1,MSButton1,LoadBitmap,c:\bla\myimage.bmp
This way you only load the image from file at runtime. Of course you'd need to make sure the bmp file was always present in the location the script expects.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?