EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Scrollextent (https://www.eq2interface.com/forums/showthread.php?t=7334)

ishnar 12-06-2006 11:14 PM

Scrollextent
 
Ok, another question. A lot of elements have the ScrollExtent tag, but they don't involve a scoll bar. So what does it do? The .doc file just says "amount you can scroll" But without a scrollbar, I don't see any scrolling getting done, so why is one being entered?

Thanks.

Zonx 12-07-2006 01:56 AM

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.

ishnar 12-07-2006 04:54 PM

thank you.

gm9 12-08-2006 10:22 PM

Even without a scrollbar scrolling work with the mouse wheel.


All times are GMT -5. The time now is 09:21 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI