load textbox if combobox is readonly
This commit is contained in:
parent
a2268dc7fa
commit
e2ea5583ae
@ -622,7 +622,10 @@ Public Class frmValidator
|
|||||||
oMyControl = ClassControlCreator.CreateExistingLabel(oControlRow, False)
|
oMyControl = ClassControlCreator.CreateExistingLabel(oControlRow, False)
|
||||||
Case "CMB"
|
Case "CMB"
|
||||||
LOGGER.Debug("Versuch CMB zu laden")
|
LOGGER.Debug("Versuch CMB zu laden")
|
||||||
|
If oControlRow.Item("READ_ONLY") Then
|
||||||
|
Dim cmbReadonly = ClassControlCreator.CreateExistingTextbox(oControlRow, False)
|
||||||
|
oMyControl = cmbReadonly
|
||||||
|
Else
|
||||||
Dim cmb = ClassControlCreator.CreateExistingCombobox(oControlRow, False)
|
Dim cmb = ClassControlCreator.CreateExistingCombobox(oControlRow, False)
|
||||||
|
|
||||||
AddHandler cmb.SelectedValueChanged, AddressOf OnCmbselectedIndex
|
AddHandler cmb.SelectedValueChanged, AddressOf OnCmbselectedIndex
|
||||||
@ -762,6 +765,9 @@ Public Class frmValidator
|
|||||||
cmb.DropDownWidth = maxWith
|
cmb.DropDownWidth = maxWith
|
||||||
|
|
||||||
oMyControl = cmb
|
oMyControl = cmb
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Case "DTP"
|
Case "DTP"
|
||||||
LOGGER.Debug("Versuch DTP zu laden")
|
LOGGER.Debug("Versuch DTP zu laden")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user