jj add select only combobox option

This commit is contained in:
JenneJ
2017-01-11 16:31:16 +01:00
parent 03ae19ae3e
commit 1889d14c7b
8 changed files with 55 additions and 7 deletions

View File

@@ -1691,6 +1691,7 @@ Public Class ClassControlBuilder
vformat As String,
_new As Boolean,
read_only As Boolean,
select_only As Boolean,
required As Boolean,
static_list As String,
sqlcommand As String,
@@ -1723,6 +1724,10 @@ Public Class ClassControlBuilder
control.Enabled = Not read_only
End If
If (Not _designMode And select_only) Then
control.DropDownStyle = ComboBoxStyle.DropDownList
End If
AddComboHandler(control, vformat)
If _new And IsNothing(parent) Then