Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen resize
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00558824
Message ID:
00559611
Views:
21
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform