Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh grid
Message
From
22/09/2005 08:18:34
 
 
To
21/09/2005 22:51:25
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01050226
Message ID:
01051906
Views:
8
What is the point of security here...

By secure, I mean that public variable are visible to everything so they can easily be trampled on.


In load event, _screen.activeform is not formed yet, so it is not an object...

In my example, there are two forms. The first one has a grid on it and instantiates the second form. The code that grabs a reference to _Screen.activeForm is in the load of the second form, so _Screen.Activeform is definitely an object here. It is the first form.


also, oParent is a variable which need to be defined before use?!

No it does not. oParent is a form property that gets added using the form's AddProperty method. In VFP 8 and later there is also the ADDPROPERTY function.
Previous
Reply
Map
View

Click here to load this message in the networking platform