Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture of commandbutton is getting invisible
Message
 
 
To
14/06/2001 04:59:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00517329
Message ID:
00519396
Views:
15
Mark,

It sounds like the app can not find the images at runtime. Do you have the BMPs included in your project? You might also need to distribute the BMP files as seperate files outside the EXE if they don't work from inside the EXE.

MSK files are just BMP format files with an MSK extension. You can just make them solid black and the same size as the original BMP. VFP uses this file when it dithers the BMP onto the button face. They are mostly only needed when the dithering makes the white part of the image disappear because it's treated as a transparent color.

>Hi David. Thanks for reply. sorry i coldn't got back to you soon. First of all , intestingly this problem happens only while running application. I mean if i create a simple vfp form and put a commandbutton with same bmp files, it works fine. I haven't done any kind of coding in my application which can cause this.
>
>I do not have downpicture specified. I tried setting downpicture but didn't help. This problem happens with all the bmps which have specfied on commandbutton. those commandbuttons are placed in form.
>I don't have msk file to go with bmp. do you think that would help? if so can you let me know how to create mask file?
>
>and yes it happen on different video cards. at least I have seen the same on two different video cards.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform