CURSOR

Constants Summarized

TypeNameSummary

Constant used for setting the roll over cursor for components.

Constant used for setting the roll over cursor for components.

Constants Detailed

DEFAULT_CURSOR

Constant used for setting the roll over cursor for components. Use this for setting the roll over cursor to the default (dependent on the OS and the L&F).

Type Number

Sample

var label = form.newLabel('Move the mouse over me', 10, 10, 200, 200);
label.rolloverCursor = SM_CURSOR.DEFAULT_CURSOR;

HAND_CURSOR

Constant used for setting the roll over cursor for components. Use this for setting the roll over cursor to a hand.

Type Number

Sample

var label = form.newLabel('Move the mouse over me', 10, 10, 200, 200);
label.rolloverCursor = SM_CURSOR.HAND_CURSOR;

Last updated