General information
Category:
ActiveX controls in VFP
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only