>Hi Peter,
>Try the mouseCharChunk - in theory there's room for it to not work every
>time, but in practical terms it'll probably do the job consistently and
>well. The mouseCharChunk will tell you what char of a word has the mouse
>hovering over it at a given moment. With execution speeds being what
>they are, it'll probably work fine.

Hi Phil

Thanks for the tip - that's sorted out my problem of detecting the 
actual character clicked on.

Any ideas for the scrolling/positioning problem?

> Also, once I've detected a hot word, I need to jump to another line
> within the field.  How do I reliably reposition a field with variable
> height lines on a line boundary?  I tried adding the textHeight of
> all lines from top to required line, multiplying the total by 4/3 and
> then setting the vScroll accordingly.  Unfortunately, this isn't
> reliable, especially if there is a blank line as this returns an
> empty textHeight.

Thanks again,

Best regards
Peter

--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

Reply via email to