VLViewPort Reference

Read/Write Property MouseIcon

See AlsoSee Also Applies To Applies To

Returns or sets a custom mouse icon for the viewport.

 

Syntax

object.MouseIcon [= picture]

 

The MouseIcon property syntax has these parts:

Part Description
object An object expression that evaluates to VLVPort
picture A string expression specifying the path for a file containing a graphic (.ICO or .CUR only), as described in Settings.

Settings

The settings for Picture are:

Setting Description
(None) (Default) Draws the viewport background as per the BackColor settings.
(Cursor, icon) Specifies a graphic. You can load the graphic from the Properties window at design time. At run time, you can also set this property using the LoadResPicture function from a resource file.

 

Remarks

The MouseIcon property provides a custom icon that is used when the MousePointer property is set to 99.