Copyright © 2003-2010 MultiMedia Soft

PictureMouseOver property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Public Overridable Property PictureMouseOver As String



public virtual string PictureMouseOver {get; set;}



public: __property virtual String* get_PictureMouseOver();

public: __property virtual void set_PictureMouseOver(String*);




The filename of the picture or animation file displayed on the button when the mouse is over the button itself. If not present the Picture property is used.

Supported bitmap formats are BMP, ICO, GIF, JPG, TIF and PNG while supported animation formats are GIF and AVI.

To make the picture background transparent use the PictureTranspMode property.

To render a picture color transparent use the PictureTranspColor property.

In order to perform changes to Pictures and Animations settings at Design-time take a look to the How to display bitmaps and animations section.




Only simple AVI animations can be played. Specifically, the animations to be played by this control must meet the following requirements:

· There must be exactly one video stream and it must have at least one frame.

· There can be at most two streams in the file (typically the other stream, if present, is an audio stream, although the control ignores audio information).

· No palette changes are allowed in the video stream.

At design time only the first frame of the AVI animation is displayed on the control; to see the AVI animation it is necessary to run the control.

Setting pictures and animation at design time will not require to redistribute the picture or animation files because their binary will be stored inside the final application code in a compressed format (the redistribution is required only when there is the need of changing and restoring the picture or animation at runtime).