Thread: Scrollextent
View Single Post
  #2  
Unread 12-07-2006, 01:56 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Scrollbars can be attached to most controlls, they are independent objects that you assign a target to.

For example, a page with size="100,100" might have a child object at location 200,200 (outside the visible region). If the scrollextent of the page is something like 300,300, you could attach a scrollbar to it that brings the child object into view while moving the other objects out of view.

Scrollocation can also be controlled via script without a scrollbar regardless of the scrollextent setting. Scrollextent is really only needed to help render an attached scrollbar properly. Technically I think the entire property can be omited if there's no scrollbar attached.
Reply With Quote