
Need help on VB5 add-in for current cursor position
Quote:
>I'm converting old VB4 code-maker add-in to VB5.
>I need to know the current cursor position when the add-in function was
>invoked so i can insert at cursor the generated code.
>I can know the current Codepane object and the codepane topline
>information.
>But how can insert code at the specific cursor location?
>Thanks in advance
>--
>Luca Menna
If you are dealing with a text box...try the SelStart property