Code covered by the BSD License  

Highlights from
ALWAYSONTOP

5.0

5.0 | 4 ratings Rate this file 8 Downloads (last 30 days) File Size: 2.28 KB File ID: #26454
image thumbnail

ALWAYSONTOP

by Elmar Tarajan

 

22 Jan 2010 (Updated 21 Dec 2011)

ALWAYSONTOP adds a pushtool to the figure toolbar for the "Always on top"-option.

| Watch this File

File Information
Description

ALWAYSONTOP(hFig)

ALWAYSONTOP('auto')
adds the pushtool to the each new created figure automatically.

ALWAYSONTOP('remove')
remove the automatically adding of pushtools to new figures.

See also: UISWITCHRENDERER (in FileExchange)

MATLAB release MATLAB 7.13 (2011b)
Other requirements none
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
26 Jan 2010 Evgeni

The feature is very helpful for fast iterations in development process. It is better then just doking it into MATLAB environment as all settings are preserved and I can scale the figure as large as needed. Thank you Elmar!

26 Sep 2011 Jveer

Hello

This doesn't work with R2011b. I get the following error:

No appropriate method, property, or field fFigureClient for class
com.mathworks.hg.peer.HG1FigurePeer.

Error in alwaysontop>update_pushtool (line 67)
      jf.fFigureClient.getWindow.setAlwaysOnTop(1)
 
Error while evaluating uipushtool ClickedCallback

Please update.

21 Dec 2011 Elmar Tarajan

updated and tested with R2012a - works!

01 Jan 2012 Jveer

Thank you for updating. I can confirm it works on R2011b and R2012a on both snow leopard and lion.

09 May 2012 per isakson

Thanks for a great tool. I was just reminded of how dependent on alwaysontop I've become. How do one modify or describe a diagram without seeing it? And thanks for the update!

Please login to add a comment or rating.
Updates
21 Dec 2011

fixed bug in newer ML-version

Contact us at files@mathworks.com