Re: selLength and no highlight



I'm passing a control to a subroutine in a *module* that does
spellchecking. Within the subroutine I have this line of code:

Public Sub SpellCheck(ByRef txtCtrl As TextBox)
....
txtCtrl.SelLength = lngPos - lngStart
....

I was assuming that this would automatically highlight the text, but it
doesn't and it would be very helpful if it did.

Comments/thoughts?

Does changing the HideSelection property value to False do what you are
looking for?

Rick


.



Relevant Pages