nsITextScroll

IID:067B28A0-877F-11d3-AF7E-00A024FFC08C
Inherits From:nsISupports

The nsITextScroll is an interface that can be implemented by a control that supports text scrolling.

This interface is implemented by the following components:


Methods

void scrollByLines ( PRInt32 numLines ) void scrollByPages ( PRInt32 numPages )

void scrollByLines ( PRInt32 numLines )

Scroll the view up or down by numLines lines. positive values move down in the view. Prevents scrolling off the end of the view.

Arguments:
numLines: number of lines to scroll the view by

void scrollByPages ( PRInt32 numPages )

Scroll the view up or down by numPages pages. a page is considered to be the amount displayed by the clip view. positive values move down in the view. Prevents scrolling off the end of the view.

Arguments:
numPages: number of pages to scroll the view by

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com