|
property manager page and persistent data
is there a way to show the property manager page, and have macro code wait for the user to close the pm page before continuing, as if using an input box or form? i am trying to keep some arrays filled with data while this occurs, for reuse in a looping procedure.
there is, i will be writing it in the book i am releasing. basically you want to handle the close event of the pm, and call your function in there.
hey marc,
your property manager page should have a class that "implements propertymanagerpage2handler2".
one of the default functions of this class is:
sub afterclose() implements propertymanagerpage2handler2.afterclose
. if you insert the code you want to execute in this sub it will be executed after you close your pmp.
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
thanks for the help!
i am able to trigger code after the close event, however i am looking for a way for this code to use data that had been stored in memory as arrays and record sets before the pm page finished initializing and showing. i am able to do this with a dialog box or input form, as it "pauses" the code awaiting user input.
showing the pm page runs similar to a modeless form, executing all code after 'show' is called. i have tried trapping this with a loop that runs until the pm is closed, that makes the interface unusable though.
quick |
|