jj: fix default value of checkbox
This commit is contained in:
@@ -2122,9 +2122,8 @@ Public Class frmIndex
|
||||
End If
|
||||
Select Case type
|
||||
Case "BOOLEAN"
|
||||
Dim VORBELGUNG As Integer = DefaultValue
|
||||
'nur eine Textbox
|
||||
Dim chk As CheckBox = ClassControls.AddCheckBox(DR.Item("NAME"), y, VORBELGUNG, DR.Item("COMMENT").ToString)
|
||||
Dim chk As CheckBox = ClassControls.AddCheckBox(DR.Item("NAME"), y, DefaultValue, DR.Item("COMMENT").ToString)
|
||||
If Not IsNothing(chk) Then
|
||||
pnlIndex.Controls.Add(chk)
|
||||
End If
|
||||
@@ -2262,7 +2261,6 @@ Public Class frmIndex
|
||||
Dim manIndexwert = GetManIndex_Value(elementOhneSonderzeichen, "IDX_AUTO", optionalIndex)
|
||||
If Not IsNothing(manIndexwert) Then
|
||||
SqlString = SqlString.Replace(element.Value, manIndexwert)
|
||||
|
||||
Else
|
||||
ClassLogger.Add(">> Attention: manIndexwert is NOTHING - Funktion: FillIndexe_Autom", False)
|
||||
' Return False
|
||||
|
||||
Reference in New Issue
Block a user