Correzione ComboBoxOnOff DDF parmeteer in Hardware

This commit is contained in:
NicolaP
2022-07-11 12:03:49 +02:00
parent 901e151399
commit c12c8f296a
+4 -2
View File
@@ -2151,9 +2151,11 @@ Public Class Hardware
Dim Text As ComboBoxOnOffParam = DirectCast(m_GroupChapters(IndexGroupChapters).CompoParamList(IndexChapter), ComboBoxOnOffParam)
sValue = String.Empty
For Index As Integer = 0 To Text.ItemList.Count - 1
If Text.SelItem = Text.ItemList(Index) Then sValue = Text.ItemListDDF(Index) : Return True
If Text.SelItem = Text.ItemList(Index) Then sValue = Text.ItemListDDF(Index)
Next
sValue = Text.SelItem
If String.IsNullOrEmpty(sValue) Then
sValue = Text.SelItem
End If
' se parametro spento
If Not Text.IsActive Then
If m_GroupChapters(IndexGroupChapters).TemplateDDFName = "DDF" Then