Re: Scrolling to a clicked line when dontwrap=false

2011-08-27 Thread Tim Selander
That worked extremely well -- thank you! Very clever use of the formattedheight. Tim Selander Tokyo, Japan On 8/27/11 9:25 PM, Peter M. Brigham, MD wrote: On Aug 27, 2011, at 5:11 AM, Tim Selander wrote: I have a field full of (locked) text (a TV script), lines are wrapped. I want to be abl

Re: Scrolling to a clicked line when dontwrap=false

2011-08-27 Thread Peter M. Brigham, MD
On Aug 27, 2011, at 5:11 AM, Tim Selander wrote: > I have a field full of (locked) text (a TV script), lines are wrapped. I want > to be able to click a word in the text and automatically set the scroll of > the field so that the line with the clicked word is at the very top of the > field. >

Re: Scrolling to a clicked line when dontwrap=false

2011-08-27 Thread Peter M. Brigham, MD
On Aug 27, 2011, at 5:11 AM, Tim Selander wrote: > I have a field full of (locked) text (a TV script), lines are wrapped. I want > to be able to click a word in the text and automatically set the scroll of > the field so that the line with the clicked word is at the very top of the > field. >

Scrolling to a clicked line when dontwrap=false

2011-08-27 Thread Tim Selander
I have a field full of (locked) text (a TV script), lines are wrapped. I want to be able to click a word in the text and automatically set the scroll of the field so that the line with the clicked word is at the very top of the field. I can set the vscroll of the field using the number returne