Difference between revisions of "NextCPosX"

From Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
'''Container System Variables'''
 
'''Container System Variables'''
 
=== Description ===
 
=== Description ===
{{rw}}
+
{{rw}} The [[Var_nextCPosX|#nextCPosX]] system variable determines the x-coordinate of where the next container/gump will open.
 +
 
 +
''Note
 +
The "Offset interface windows rather than perfectly stacking them" option, in Interface options (Mouse Icon) must be turned on for this to work.''
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 
+
; Open bank box at 10,10
 +
set #nextCPosX 10
 +
set #nextCPosY 10
 +
msg bank$
 +
halt
  
 
</pre>
 
</pre>
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px |  
+
| Width=200px | [[Var_nextCPosY|&#0035;nextCPosY]] || Width=200px | [[contPos|contPos]]|| Width=200px | [[nextCPos|nextCPos]] 
 
|}
 
|}
 +
 
----
 
----
 
{|
 
{|
 
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Container|Container System Variables]]
 
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Container|Container System Variables]]
 
|}
 
|}

Revision as of 18:32, 15 August 2005

#nextCPosX

Container System Variables

Description

The #nextCPosX system variable determines the x-coordinate of where the next container/gump will open.

Note The "Offset interface windows rather than perfectly stacking them" option, in Interface options (Mouse Icon) must be turned on for this to work.

Example

; Open bank box at 10,10
set #nextCPosX 10
set #nextCPosY 10
msg bank$
halt

See Also

#nextCPosY contPos nextCPos

Main_Page Documentation Container System Variables