diff --git a/Global_Indexer/ClassPatterns.vb b/Global_Indexer/ClassPatterns.vb index 75d600b..9afc396 100644 --- a/Global_Indexer/ClassPatterns.vb +++ b/Global_Indexer/ClassPatterns.vb @@ -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)