几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 01:42 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】property manager page

property manager page
does anyone know how to utilize the multiple page option of the property manager page?
i've used the swpropertymanageroptions_multiplepages option to create the buttons, and i'm aware of the propertymanagerpage2handler4_onnextpage event, but i'm not sure where to go from there.
does each page have to be generated when the user clicks the next button, and if the user goes back to the previous page and it is created again from scratch, wouldn't all the information be lost?
thanks!
lee
hi lee, sorry no one has responded sooner.
when you use the command createpropertymanagerpage there is a constant in the the options paramater that needs to be included to turn on the arrow buttons to move from one "page" to another. this constant is swconst.swpropertymanageroptions_multiplepages
the way i handle these multiple pages is that i have a counter that monitors the current page number. then when the next or previous arrow is clicked on the propertymanagerpage2handler3_onnextpage is called and the current number incremented or decremented. this procedure calls another procedure that handles what group boxes to show and or hide.
all group boxes are created once at initialization. you can only hide or show these through the property manager. also, some controls can be modified when not shown, others can't be updated other than their captions or status.
i hope that helps.
have fun!
ahh, that makes perfect sense, but how do you control whether the 'next' and 'previous' buttons are enabled or disabled (i.e. whether you are at the first page, middle page, last page).
thanks a lot for the reply!
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】property manager page and persistent data yang686526 SolidWorks二次开发 0 2009-04-13 01:41 PM
【转帖】creating a property manager page yang686526 SolidWorks二次开发 0 2009-04-13 10:04 AM
【转帖】propertymanager page problem yang686526 SolidWorks二次开发 0 2009-04-12 10:08 PM
【转帖】bitmap button on property manager page yang686526 SolidWorks二次开发 0 2009-04-12 08:18 PM


所有的时间均为北京时间。 现在的时间是 01:07 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多