S SamSpade Apr 23, 2004 #1 The VB6 TextBox had a Span method to extend a selection. Is there a similar capability in Dotnet? I can't find it. Thanks
The VB6 TextBox had a Span method to extend a selection. Is there a similar capability in Dotnet? I can't find it. Thanks
C CaribSoft Apr 27, 2004 #2 You have to get the ITextDocument of the richtextbox and call the Selection.Expand(tomWord) method ,see the msdn docs for ItextDocument interface.
You have to get the ITextDocument of the richtextbox and call the Selection.Expand(tomWord) method ,see the msdn docs for ItextDocument interface.
S SamSpade Apr 27, 2004 #3 Thanks, that works CaribSoft said: You have to get the ITextDocument of the richtextbox and call the Selection.Expand(tomWord) method ,see the msdn docs for ItextDocument interface. Click to expand...
Thanks, that works CaribSoft said: You have to get the ITextDocument of the richtextbox and call the Selection.Expand(tomWord) method ,see the msdn docs for ItextDocument interface. Click to expand...