Microsoft KB Archive/130408

= How to Create a Wallpaper Effect in Visual FoxPro =

Article ID: 130408

Article Last Modified on 2/11/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q130408



SUMMARY
In Visual FoxPro, you can easily create a "wallpaper" effect by having a bitmap tiled through a user-defined window or the Visual FoxPro desktop.



How to Wallpaper a Desktop or Window
To wallpaper the desktop, issue this command: _SCREEN.PICTURE = To wallpaper a user-defined window, issue commands similar to these: DEFINE WINDOW x FROM 1,1 TO 10,10 FILL FILE ACTIVATE WINDOW x To wallpaper a form or page within a form, use the picture property: ThisForm.Picture = ThisForm.PageFrame1.Page1.Picture =

How to Clear the Wallpaper Pattern
To clear the wallpaper from the desktop, issue these commands: _SCREEN.PICTURE = "" CLEAR A 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 query words: VFoxWin

Keywords: kbcode KB130408

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.