Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen resize
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00558824
Message ID:
00559611
Vues:
22
Hi!

See FAQ#8124. It is already there and explain all details.

>Vlad,
>
>I've been following this thread and this is really neat :)
>
>How can I find out what other events there are that can be attached to?
>
>>>>>>Sergey, this approach is obsolete. Why use external FLL file when there is built-in VFP approach to define code for events in run-time?
>>>>>>
>>>>>>
>>>>>>DEFINE CLASS MyHook AS Custom
>>>>>>  oScreen = _Screen
>>>>>>
>>>>>>  PROCEDURE oScreen.Resize && attach VFP code to object's event when this class initialized
>>>>>>    oScreen.MyContainer.ScreenResized
>>>>>>  ENDPROC
>>>>>>ENDDEFINE
>>>>>>
>>>>>>
>>>>>>
>>>>>>_Screen.AddObject("oHook","MyHook") && now screen resize event captured...
>>>>>>
>>>>>>
>>>>>>HTH.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform