This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

MapScrollX


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 number   [other number-type attributes]

 0

 Map   [other Map Group attributes]

 Map configuration

 No

 No

 Yes

 Already in v5.0.0

 


Controls the initial X-axis scroll position of Map views of the contents of a container.

The value is in map units. These co-ordinates are floating-point numbers, and use the same relative co-ordinates as $Xpos and $Ypos.

For $MapScrollX, position '0' is when the scroll bar is in the middle of the view's vertical window scroller.

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

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

This attribute works in conjunction with $MapScrollY.

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.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Attributes : Attribute Groups within Tinderbox : Attributes which are intrinsic : MapScrollX