Flynet Simulated Host

SetCursor Tag

SetCursor Tag

Previous topic Next topic  

SetCursor Tag

Previous topic Next topic  

Set the cursor position

 

This tag will change the current cursor position.  When a map is loaded, the cursor will be located at the position specified in the Map tag.  When a screen is sent to the client, on return, the cursor may be moved.

 

Use this tag to set the cursor to a specific location based on the logic in your scripts.

 

Attributes:

 

Attribute

Default / Required

Description

row

1

Row number (1..maximum rows)

column

1

Column number (1..maximum columns)

 

SetCursor has no children.


Example:

 

<IfScreen row="12" column="21" text="bozo">

<Else/>

  <PutScreen row="12" column="31" text="}You must enter Bozo!]"/>

  <SetCursor row="12" column="21"/>

</IfScreen>