RichTextBox methods: Span & UpTo ?
Does the RTB in .NET have methods equivalent to the VB6 RTB's .Span & .UpTo methods?
I'm trying to convert various VB6 routines to VB.NET and I managed to figure out some of the name changes, e.g. SelLength => SelectionLength,
but I can't find anything that looks like Span or UpTo.
Thanks, DaveBo
We need a "dazed & confused" icon.
Re: RichTextBox methods: Span & UpTo ?
A quick Google produced this statement regarding the Span method,
Quote:
"You have to get the ITextDocument of the richtextbox and call the
Selection.Expand(tomWord) method ,see the msdn docs for ItextDocument
interface."
But, I don't have my Gobledygook to English dictionary handy, so when I Googled "ItextDocument" I just got more confused and frustrated.
I feel like I'm being asked to perform brain surgery where a simple aspirin should be sufficient.
Isn't there a magic .NET incantation that replaces ".Span"?
e.g. Microsoft.Windows.YouAskedForItYouIdiot.CantGetThereFromHere.napS.SomeSwahiliWordForCowDung...
Have Fun, DaveBo