use checkstate for checkboxes
This commit is contained in:
@@ -116,7 +116,8 @@ Public Class ClassControlCreator
|
||||
.AutoSize = True,
|
||||
.Text = DEFAULT_TEXT,
|
||||
.Cursor = Cursors.Hand,
|
||||
.Location = location
|
||||
.Location = location,
|
||||
.CheckState = CheckState.Indeterminate
|
||||
}
|
||||
|
||||
Return control
|
||||
@@ -278,6 +279,7 @@ Public Class ClassControlCreator
|
||||
|
||||
control.AutoSize = True
|
||||
control.Text = row.Item("CTRL_TEXT")
|
||||
control.CheckState = CheckState.Indeterminate
|
||||
|
||||
If Not designMode Then
|
||||
control.Enabled = Not row.Item("READ_ONLY")
|
||||
|
||||
Reference in New Issue
Block a user