RichEdit Textbox controls.

Jun 14, 2010 at 7:08 PM
Edited Jun 14, 2010 at 7:11 PM

Hi guys, when using white to find items in our application we are getting a NonComVisibleBaseClass Exception. I am asking two things:

1. Has anyone else run into this problem with TextBoxes (Specifically The "RichEdit" ones)

2. Does anyone know a fix for this? Here is an example of what I'm doing when the exception is thrown. Even though I specify a search for a button only, it still throws this exception.


SearchCriteria search = SearchCriteria.ByText("Rectangle").AndControlType(typeof(Button));

Button MyButton = MainWindow.Get<Button>(search);


Where "Rectangle" is the name of a button in the program. Thanks.