Re: Win32Lib MleText selections
- Posted by "Greg Haberek" <ghaberek at gmail.com> Apr 15, 2006
- 422 views
> I haven't been able to find anything about this specific issue in the mes= sage > archives, but maybe I just missed it. I want to select the first instanc= e > of a particular phrase programmatically so that the next call to > getSelectedText(myMLE) returns that phrase. I've noticed that the autoSe= lect > function selects ALL the text in a control, but I want to be able to sele= ct a > single range of text. If that's not possible, then I should at least be = able > to move the caret to the beginning of that word or phrase. have you tried setIndex( Mle, {Start, End} ) ?? ~Greg