Using a Variable for a .BMP File in the Screen BuilderLast reviewed: June 26, 1995Article ID: Q97629 |
The information in this article applies to:
In the Screen Builder, a variable can be used to indicate the .BMP file to display. The normal interface to include a bitmap or OLE object in the screen contains two push buttons: File and Field. The first button will allow a selected file to be displayed, the second will allow a general field in a database to be displayed or played as an OLE object. However, neither of the buttons directly allow using a variable name to indicate the filename of a bitmap file. To use a variable that assigns a .BMP file in the Screen Builder, you must choose the Field button in the dialog box. Since this button is intended for OLE objects, you must include the word "BITMAP" after the variable name. For example:
mybmp BITMAPWithout the word "BITMAP" added, the contents of the variable "mybmp" will be displayed on the screen. For example, the Screen Builder will correctly generate this line of code with "BITMAP" added:
@ row,col SAY mybmp BITMAP .... |
Additional reference words: FoxWin 2.50 2.50a bitmap option object linking
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |