5.0

5.0 | 1 rating Rate this file 26 downloads (last 30 days) File Size: 18.44 KB File ID: #11589

Rollover effect on pushbuttons

by Laurent Vaylet

 

29 Jun 2006 (Updated 06 Jul 2009)

Code covered by BSD License  

Implement rollover effect on your own figures with only two lines of code !

Download Now | Watch this File

File Information
Description

The ROLLOVER object gives you the opportunity to change labels and/or icons on pushbuttons when mouse pointer moves over them. You just have to instantiate a ROLLOVER object on a chosen figure, define handles of pushbuttons which you want to be rollover-capable, and eventually provide alternative labels and/or icons.

For an example, just run test_rollover.m in attached zip file.

MATLAB release MATLAB 7.2 (R2006a)
Zip File Content  
Other Files
license.txt,
rollover/@rollover/display.m,
rollover/@rollover/get.m,
rollover/@rollover/rollover.m,
rollover/@rollover/set.m,
rollover/icons/add.bmp,
rollover/icons/cancel.bmp,
rollover/icons/down.bmp,
rollover/icons/ok.bmp,
rollover/icons/remove.bmp,
rollover/icons/up.bmp,
rollover/import_icons.m,
rollover/license.txt,
rollover/roll.m,
rollover/test_rollover.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
13 Aug 2007 CAE support

C'est bien mon lolo.!!!

Please login to add a comment or rating.
Updates
26 Jun 2009

Updated license.txt to BSD

06 Jul 2009

Added The MathWorks, Inc. as BSD Organization

Tag Activity for this File
Tag Applied By Date/Time
gui tools Laurent Vaylet 22 Oct 2008 08:31:40
example Laurent Vaylet 22 Oct 2008 08:31:40
rollover change icons and labels mouse moves over Laurent Vaylet 22 Oct 2008 08:31:40
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com