SyntaxEditor for Silverlight Forum

Posted 8 years ago by Thida Chiang
Version: 11.1.0111
When FocusFindWhatTextBox() method is called on EditorSearchView, FindWhat textbox is focused only when there is some value. I am trying to implement a find/replace function similar to Visual Studio and when user clicks on find menu, the EditorSearchView control should appear and FindWhat textbox should have the focus. Please advise if I am missing anything.


Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Thida,

The FocusFindWhatTextBox method is very simple and just does a SelectAll() and then Focus() on the textbox in the EditorSearchView template. That code occurs each time you call it regardless of if there is a value in the textbox or not.

Actipro Software Support

The latest build of this product (v2018.1 build 0232) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.