PRB: Changes in BMP Files Don't Appear in @...SAYLast reviewed: April 30, 1996Article ID: Q127842 |
The information in this article applies to:
SYMPTOMSIf you issue the @...SAY <.BMP file> BITMAP command, and then make changes to the .BMP file, when you reissue the @...SAY command, the changes to the .BMP file are not displayed.
CAUSEThe .BMP image is cached after the first @...SAY, so when the command is repeated, FoxPro does not read the modified file from disk.
WORKAROUNDIf you are using FoxPro for Windows version 2.x, issue the following command before subsequent @...SAY commands:
=SYS(1015)This forces FoxPro to read the .BMP file from disk. WARNING: This function is undocumented and therefore may be changed or omitted without notice from future releases of FoxPro. The reliability of this function is not guaranteed. If you are using Visual FoxPro for Windows version 3.0, you can create a form, place an OLE container on the form, and use the Show method to refresh the image. If you are using Visual FoxPro, you can create a form and place an OLE bound control on the form to display the .BMP file. Then, you can use the SHOW method of the form to refresh the .BMP. NOTE: The .BMP must to be linked instead of embedded. An embedded .BMP will not work in this case.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional reference words: VFoxWin 3.00 FoxWin 2.60a bitmap refresh
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |