几何尺寸与公差论坛

 找回密码
 注册
查看: 105|回复: 2

PR 246245 'Tolerance Zone Multipler' field in Edit Dimension Color is dis

[复制链接]
发表于 2009-5-20 20:17:59 | 显示全部楼层 |阅读模式
'Tolerance Zone Multipler'  field in Edit Dimension Color  is displayed '0' even if I previously set it as '1'
<< Paola Pallo  --  01/26/07  12:13:57>>

Steps to reproduce:
Open 'Edit Dimension Color' dialog
Change 'Tolerance Zone Multiplier' setting  value 1
Click OK.
Dimension Color Bar is correctly upgraded, but if I reopen again
'Edit Dimension Color' dialog,  I see the warning message " Please enter  an integer between 1 and 2415919103" , and now 'Tolerance Zone Multiplier ' field is 0
<<END>>


<< Changes made by Yanhua Huang (Field Changes) -- 05/19/09  16:20:50>>
Action:  Woody Anderson to Yanhua Huang
<<END>>
<< Changes made by Neil Kay -- 07/23/08  10:44:54>>
Action:  David Petrizze to Woody Anderson
<<END>>
<< Wenfan Zhou  --  02/12/07  13:21:57>>
Fixed and uploaded to V42 and V43B.
Files inserted to server
------------------------
V42\MENU\DIMCOLORS.CPP
V43B\MENU\DIMCOLORS.CPP
<<END>>
<< Changes made by Wenfan Zhou -- 02/12/07  13:22:27>>
Action:  Wenfan Zhou to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Paola Pallo  --  01/26/07  14:09:03>>
Looking in the dialog code (dimcolors.cpp), I saw this is an  issue related to  float- UINT conversion for member variables m_multiple_of_tol and m_MultipleTolZone .
Wenfan, since you recently reworked it per task 102676, please may you double-check ? Thanks
<<END>>
<< Changes made by Paola Pallo -- 01/26/07  14:09:39>>
Action:  Woody Anderson to Wenfan Zhou, Assigned:  Woody Anderson to Wenfan Zhou
<<END>>
 楼主| 发表于 2009-5-20 20:27:16 | 显示全部楼层

回复: PR 246245 'Tolerance Zone Multipler' field in Edit Dimension Color

(UINT(m_colorCombo.m_MultipleTolZone * 100 + 0.49) != m_multiple_of_tol))
 楼主| 发表于 2009-6-2 21:24:06 | 显示全部楼层

回复: PR 246245 'Tolerance Zone Multipler' field in Edit Dimension Color

PR246245 - I have a question about 'Tolerance Zone Multiplier' , can we input decimal fraction? In V44B, the variable was defined as int.
[9:43:52 PM] Donald Turcotte says: This is something that Wenfan implemented so you should speak with him for more details.  I think it is sufficient that the Tolerance Zone Multiplier is an int.
[9:44:34 PM] yanhua Huang says: got it.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 19:04 , Processed in 0.037891 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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