Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser control - implementing pop up windows
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00887760
Message ID:
00888441
Views:
18
>Thanks Alexander -- I saw that mentioned in MSDN documentation, but I don't understand how one "passes back" a value in an event. I always thought events passed values *to* the function, and I can't grasp how I go about *setting* the cancel parameter... isn't it already set when it's passed in?

Paul,
Both parameters in the NewWindow2 event are [in, out]. This means that they are passed by reference, not by value, and you can change these values in your function. For example, you can change the value of Cancel parameter from passed in default value .F. to .T.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform