EgtCAM5 :

- aggiunti bottoni toolbar per quotature angolari e diametrali/radiali
- corretta gestione DecDigit di quotature in pagina Opzioni (valore può essere negativo).
This commit is contained in:
Dario Sassi
2024-03-14 20:08:31 +01:00
parent 82c40a5b41
commit 2a056bc9be
6 changed files with 91 additions and 9 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ Public Class OptionWindowVM
End Get
Set(value As String)
Dim nVal As Integer = 0
If Integer.TryParse(value, nVal) AndAlso nVal > 0 Then
If Integer.TryParse(value, nVal) Then
OptionModule.m_nDecDigit = nVal
EgtSetCurrDimensionStyle(m_dExtLineLen, m_dArrowLen, m_dTextDist, m_nLenIsMM, m_nDecDigit, m_sFont, m_dTextHeight)
WritePrivateProfileString(S_DIMENSIONSTYLE, K_DECDIGIT, OptionModule.m_nDecDigit.ToString())