uiFlash

Versione 1.0.0.0 (2,64 KB) da Jan
Direct attention to UI object by short flashing
866 download
Aggiornato 13 ott 2009

Visualizza la licenza

uiFlash: Direct attention to UI object by short flashing

A property, e.g. the BackgroundColor, of a graphic object is flashed twice to the new value and return to the original. E.g. this can be helpful to direct the user's attention to a specific UICONTROL in case of wrong input.

Example:
FigH = figure;
BtnH = uicontrol(FigH, 'String', 'Hello', 'Position', [20, 20, 60, 20]);
uiFlash(BtnH, 'BackgroundColor', [1, 0, 0])
uiFlash(BtnH, 'Position', [16, 16, 68, 28]);
uiFlash(FigH, 'Position', get(FigH, 'Position') + [0, 20, 0, 0]);

Please email me in case of problems or questions.

Cita come

Jan (2024). uiFlash (https://www.mathworks.com/matlabcentral/fileexchange/25566-uiflash), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Just for fun in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0