Lingo Dictionary > A-C > cursorSize

 

cursorSize

Syntax

member(whichCursorCastMember).cursorSize
the cursorSize of member whichCursorCastMember

Description

Cursor cast member property; specifies the size of the animated color cursor cast member whichCursorCastMember.

Specify size:

For cursors up to:

16

16 by 16 pixels

32

32 by 32 pixels


Bitmap cast members smaller than the specified size are displayed at full size, and larger ones are scaled proportionally to the specified size.

The default value is 32 for Windows and 16 for the Macintosh. If you set an invalid value, an error message appears when the movie runs (but not when you compile).

This property can be tested and set.

Example

This command resizes the animated color cursor stored in cast member 20 to 32 by 32 pixels.

Dot syntax:

member(20).cursorSize = 32

Verbose syntax:

set the cursorSize of member 20 = 32