Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic Filling _SCREEN bitmap
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00836858
Message ID:
00836873
Vues:
9
Tommy,
Try hooking into the _screen.Resive method
Define Class ResizeHook as Custom
	oScreen = _Screen
	
	Procedure oScreen.Resize
		aImgWllPaper.AdjustSize()
	EndProc
EndDefine
HTH
cj

>I used the code in KiloFox (pages 23, 24 and 25) to set up my App to use a bitmap as the _SCREEN background image.
>
>All is fine... it sizes itself up great when the App starts, irregardless of the Screen Resolution.
>
>But, if the user changes the APP's size, then the bitmap no longer fits, and bare space is shown around the sides of the bitmap. What I need is to be able to call the AdjustSize method of the aImgWallPaper class when the user resizes the _SCREEN of the App.
>
>Any ideas? Need more info?
>
>Thanks!!!
>
>Tommy
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform