cursors.lzx
<canvas width="100%" height="260">
<resource name="crosshair" src="resources/cursor_crosshair.png"/>
<resource name="wait" src="resources/cursor_wait.png"/>
<simplelayout spacing="10"/>
<button onclick="lz.Cursor.showHandCursor(true)">Change default cursor for all buttons to hand
(on by default)</button>
<button onclick="lz.Cursor.showHandCursor(false)">Change default cursor for all buttons to
default</button>
<button onclick="lz.Cursor.setCursorGlobal('crosshair')">Turn on crosshairs</button>
<button onclick="lz.Cursor.unlock()">Turn off crosshairs</button>
<view bgcolor="red" showhandcursor="false" clickable="true">
<text>showhandcursor is false</text>
</view>
<view bgcolor="green" showhandcursor="true" clickable="true">
<text>showhandcursor is true</text>
</view>
<view bgcolor="yellow" cursor="wait" clickable="true">
<text>cursor is 'wait'</text>
</view>
</canvas>
Cross References
Resources