[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to scroll in a TextEdit control?
In article <uerics.721719499@mcl> uerics@mcl.ucsb.edu (Eric D. Shepherd) writes:
>Re: TextEdit
>
>First, horizontal scrolling is _not_ supported by TextEdit. Apple has
>left room to add that in the future, but it does not exist at this time.
>So don't bother, unless you know something I don't.
>
i'm not using TextEdit to do horizontal scrolling. i just created a very large
window with horizontal and vertical scroll bars, and a TextEdit record large
enough to fit in it (though not all visible at once). i can scroll through the
text using the window's scroll bars and am calling DrawControls to redraw as needed.
>To have TaskMaster handle your TextEdit record, create it as a control
>using NewControl2. TENew is _only_ to be used when TaskMaster is not
>going to be used to handle the record. If you use NewControl2 and
>TaskMaster (remember to set the idle and multi-click bits), you'll have a
>much easier job.
i'm not using TaskMaster to control the record because i am going to have
multiple fonts/styles/sizes and i didn't think i could do this with TaskMaster. though
i am using TaskMaster for everything else . what i need is way to know when i'm
at the bottom of the window so i can scroll up. it looks like i'll have to keep
a manual count of which line i'm on to figure it out.
Jason Perez | "Frodo Lives!" "Gig 'em!"
j0p7771@tamuts.tamu.edu | Texas A&M Univ. - it's not just for
j0p7771@sigma.tamu.edu | farmers anymore!