johnston@ug.cs.dal.ca (Bruce Johnston) (10/13/89)
Howdy mac programmers, I have a question fo you all. I am in the process of writing a mini-editor and I have a problem. I have created a window with both a horizontal and vertical scroll bar. The problem is that I do not know how to figure out how far one should scroll the horizontal or the vertical scroll bar when the page down or up area is clicked on. Is there a standard that is used for these values or does anyone have any code that does it. I am especially wondering about the horizontal scroll bar since I think I can use some info in the TE record to scroll vertically. However, if someone has some ideas or code for both, well...... that would be even better! I am running Think C 3.0 on an SE so ideas in said language would be appreciated. Bruce Johnston (johnston@dalcsug.UUCP) . -- Bruce Johnston Dalhousie University Halifax, Nova Scotia, CAnada. Disclaimer: I'm always right... and submarines have screen doors!