Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To: Add code to _Screen.Hide and _Screen.custom met
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00814430
Message ID:
00814511
Views:
13
Thanks for responding Viv. I'll give this a try and let you know.

>Hi,
>
>>Could anybody let me know how I can add code to the _SCREEN.Hide() methods.
>>Also I would like to create custom methods for the _SCREEN.
>
>The VFP help entry for ' _SCREEN Properties,Methods and Events' gives an example for both of the above. Essentially:
>
>
>_Screen.NewObject("oSH","ScreenHook","myScreen.prg")
>
>*myScreen.prg
>DEFINE CLASS ScreenHook as Custom
>  oScr = _SCREEN
>  PROC oScr.Hide()
>    * whatever
>  ENDPROC
>  PROC oScr.CustomMethod
>    * whatever
>  ENDPROC
>ENDDEFINE
>
>
>HTH,
>Viv
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform