Example: Add a Mouse Over Message to a Button Tag

Set the following properties in the Property Sheet for an Image Button, Link Button, or Push Button control:

Property

Value

Button-HtmlAttributes-onMouseMove

javascript:window.status=’Hovering...’;

Button-HtmlAttributes-onMouseOut

javascript:window.status=“;

After building and running the application, watch the browser’s status bar.  You’ll notice the custom message appears when you hover over the button.

Note: The Java Plugin must be installed and running in your system system in order for this example to work properly.

See Also

Code Generation Tag Properties