Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen resize
Message
From
21/09/2001 08:50:01
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00558824
Message ID:
00559196
Views:
24
Hi!

It is already at the tek-tips site. I sent it here too.

>Cool! I think you should put it in FAQ.
>
>>Hi!
>>
>>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.
>>
>>P.S. I added this comment to the file download you have mentioned.
>>
>>>>Hi
>>>>
>>>>I have a container on _screen, I need to trigger the container.resize when resize the screen. It's possible?
>>>>
>>>>TIA
>>>See file#9676 'Visual FoxPro Desktop Events'
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