fix: class patterns using textbox instead of textedit

This commit is contained in:
Jonathan Jenne
2020-05-27 10:45:56 +02:00
parent 575e7aed84
commit b145508a3d

View File

@@ -1,4 +1,5 @@
Imports System.Text.RegularExpressions
Imports DevExpress.XtraEditors
Imports DigitalData.Controls.LookupGrid
Imports WINDREAMLib
@@ -208,9 +209,9 @@ Public Class ClassPatterns
LOGGER.Debug("Found Control [{0}], continuing with setting value..", oFoundControl.Name)
If TypeOf oFoundControl Is TextBox Then
If TypeOf oFoundControl Is TextEdit Then
Try
oValue = DirectCast(oFoundControl, TextBox).Text
oValue = DirectCast(oFoundControl, TextEdit).Text
Catch ex As Exception
LOGGER.Error(ex)
LOGGER.Warn("Control Value for TextBox [{0}] could not be retrieved!", oFoundControl.Name)