Tinderbox Icon

Attribute Data Type:   number
Attribute Default Value:   0
Atrribute Group:   Map
Attribute Inherited from Preferences?     No
Attribute Read-Only?   No

MapScrollY is a numerical attribute that controls the initial Y-axis scroll position of Map views of the contents of a container. The data is Number type, in map units. These co-ordinates are floating-point numbers, and use the same relative co-ordinates as Xpos and Ypos.

For MapScrollY, position '0' is when the scroll bar is in the middle of the view's horizontal window scroller.

In the parent's viewport MapScrollY is drawn halfway down the interior of the container's icon (i.e. $Height/2) though depending on TitleHeight the position itself may be obscured.

If MapScrollX/Y are {0.0}, then a note with Xpos=0;Ypos=0 will be around the middle of the screen.

This attribute works in conjunction with MapScrollX.

The attribute can be set via actions so it is possible to pre-set a particular area of the parent map to be set to be onscreen when opened.

Up: Map Attributes
Previous: MapScrollX  Next: MapTextSize 

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox