几何尺寸与公差论坛

 找回密码
 注册
查看: 770|回复: 0

【转帖】property manager page and persistent data

[复制链接]
发表于 2009-4-13 13:41:57 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 04:58 , Processed in 0.035582 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表