Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still having problems displaying .bmp files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00117319
Message ID:
00118116
Views:
18
David,

Finally, my idea with adding the image failed today (I thought I had it licked) but this is what caused me problems.
I had the form.lockscreen = .t. when I added the image. Then I add various other objects and finally display the screen.
If I add turn lockscreen off, add the image, turn it back on, add my other objects then turn it back off everything works fine.

I don't particularly like it, because the form shows briefly with just my image, then snaps a half second later with the rest of the controls, but it also looks like I may have planned it that way. I'll live with it I guess.

I have about 75 report forms using this object on my base class. If I'd have subclassed my base form again for this report, I could have simply set the .picture to my image and that would have worked, but I didn't and I'm not about to add them individually. Live and Learn.

Robert...



>Robert,
>
>The last time I did any significant amout of work with .bmp files was for a help system on a project 2 years ago. I used PaintShopPro (shareware you can get it from www.tucows.com) I know it can set the bmp palette to the standard windows 256 color palette, which was required to get the images properly displayed in the .hlp file.
>
>You might also store them as JPG and (VFP6 natively supports JPG and GIF) use the browser to display the image. It also helps to run the video system at 64k colors instead of 256.
>
>>I've tried set palette off, refreshes, changing from 256 to 16 colors, inkey(.01), ?? ''. Its inconsistant and occurs on several of my bitmap files. I believe they are all scanned images. I am using image composer 1.5 and the standard Windows MS Paint program. Is it possible to specify the 'STANDARD WINDOWS PALETTE' when saving them? I don't see where it is done.
>>Isn't there .pal files that came be saved somewhere, somehow in some software?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform