Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Not Working In VFP8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00890045
Message ID:
00890049
Vues:
26
This trick doesn't work in VFP8SP1 anymore. See Re: First bug in VFP8SP1 discovered Thread #836211 Message #836660. You can use BundEvent instead.

>I have the following code used in a VFP 7 app to handle resizing
>my application when VFP is resized. In VFP8, I get the error
>"Unknown member OSCREENOBJ" on the _Screen.AddObject ... line
>
>
>FUNCTION AddVfpHooks
>
> _Screen.AddObject("VfpEventsHook", "VfpEvents")
>
>RETURN
>
>
>
>DEFINE CLASS VfpEvents AS Custom
>
>  oScreenObj = _Screen
>	
>  PROCEDURE oScreenObj.Resize()
>	
>    oApp.VfpResize()
>	
>  ENDPROC
>	
>ENDDEFINE
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform