Derek,
Check SelStart and SelText properties. They should help. I'll try to search here in UT similar thread (I remember Mike Helland advised this while ago on).
>Help required please. I have a read only edit box containing many hundreds of lines of data. I would like the user to be able to search for a keyword contained in the edit box data and position the cursor over the selected word. (Preferable highlighting it but that is not essential)
>
>Any help would be greatly appreciated
>
>Many Thanks
>
>Derek.....
If it's not broken, fix it until it is.
My Blog