AnsweredAssumed Answered

Proper way to get data from PropertyManager page?

Question asked by Douglas Fox on Jan 19, 2010
Latest reply on Jan 21, 2010 by Douglas Fox

Probably a simple question!!  I have developped a property manager page, but I'm having trouble figuring out how to get the user input from it once the user clicks OK.


In the on close event in the property manager event handler, I have the following code:


Private Sub PropertyManagerPage2Handler2_OnClose(ByVal Reason As Long)
    Debug.Print "PropertyManagerPage2Handler2_OnClose"

    If Reason = swPropertyManagerPageCloseReasons_e.swPropertyManagerPageClose_Okay Then
        'OK button was clicked
    End If
End Sub


AddConfigs is a call to a Sub in my main module, which will create configurations in selected subassemblies and parts according to user input.  How do I get the user input into that Sub?  I could make Global variables, but isn't there a better way?


Any help is really appreciated.