How to Create a Wallpaper Effect in Visual FoxProLast reviewed: April 30, 1996Article ID: Q130408 |
The information in this article applies to:
SUMMARYIn Visual FoxPro, you can easily create a "wallpaper" effect by having a bitmap tiled through a user-defined window or the Visual FoxPro desktop.
MORE INFORMATION
How to Wallpaper a Desktop or WindowTo wallpaper the desktop, issue this command:
_SCREEN.PICTURE = <bitmap file name>To wallpaper a user-defined window, issue commands similar to these:
DEFINE WINDOW x FROM 1,1 TO 10,10 FILL FILE <bitmap file name> ACTIVATE WINDOW xTo wallpaper a form or page within a form, use the picture property:
ThisForm.Picture = <bitmap file name> ThisForm.PageFrame1.Page1.Picture = <bitmap file name> How to Clear the Wallpaper PatternTo clear the wallpaper from the desktop, issue these commands:
_SCREEN.PICTURE = "" CLEARA wallpaper pattern cannot be cleared from a user-defined window. To clear the wallpaper from a form or page, set the picture property to a null character string:
ThisForm.Picture = "" ThisForm.PageFrame1.Page1 = "" |
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |