fix: class patterns using textbox instead of textedit
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
Imports System.Text.RegularExpressions
|
Imports System.Text.RegularExpressions
|
||||||
|
Imports DevExpress.XtraEditors
|
||||||
Imports DigitalData.Controls.LookupGrid
|
Imports DigitalData.Controls.LookupGrid
|
||||||
Imports WINDREAMLib
|
Imports WINDREAMLib
|
||||||
|
|
||||||
@@ -208,9 +209,9 @@ Public Class ClassPatterns
|
|||||||
|
|
||||||
LOGGER.Debug("Found Control [{0}], continuing with setting value..", oFoundControl.Name)
|
LOGGER.Debug("Found Control [{0}], continuing with setting value..", oFoundControl.Name)
|
||||||
|
|
||||||
If TypeOf oFoundControl Is TextBox Then
|
If TypeOf oFoundControl Is TextEdit Then
|
||||||
Try
|
Try
|
||||||
oValue = DirectCast(oFoundControl, TextBox).Text
|
oValue = DirectCast(oFoundControl, TextEdit).Text
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
LOGGER.Warn("Control Value for TextBox [{0}] could not be retrieved!", oFoundControl.Name)
|
LOGGER.Warn("Control Value for TextBox [{0}] could not be retrieved!", oFoundControl.Name)
|
||||||
|
|||||||
Reference in New Issue
Block a user