Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two in One
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00564437
Message ID:
00564835
Vues:
17
Sorry, didnt go there before i wrote

Here's a snippet I came up with based on that:



  ** Run the function to add the event hook
  DO AddHook

  FUNCTION AddHook
    _Screen.AddObject("MyVfpEventHooks", "VfpEventHooks")
  return

  DEFINE CLASS VfpEventHooks AS CUSTOM

    ** Assign a reference to the VFP desktop object
    oVfpHook = _Screen

    ** Add a hook on the resize method
    PROCEDURE oVfpHook.Resize

    ? _Screen.Height
    ? _Screen.Width

  ENDPROC

ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform