From b145508a3d4c03465b03ab361fb9d6b9ceb6156b Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Wed, 27 May 2020 10:45:56 +0200 Subject: [PATCH] fix: class patterns using textbox instead of textedit --- Global_Indexer/ClassPatterns.vb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)