Release 11 New Features      

GUI Development Enhancements

MATLAB 5.2 added several new features to make it easier for you to develop an effective graphical user interface (GUI) for your applications. In the online HTML version of this document, you can use the highlighted links to get more information about these new features.

New Units Property Value

If you write user interfaces intended to be used on more than one computer platform, you may find that you need to adjust the size of controls to accommodate the differences in the size of the fonts used to label the controls.

The new characters value for the Units property enables you to define Uicontrol objects whose sizes are based on the default system font size.

Tooltips

A tooltip is a small rectangle that contains textual information. A tooltip is associated with a Uicontrol and appears below the control when the cursor is held over the control for a certain amount of time (determined by system settings).

You define a tooltip for a Uicontrol by specifying a string value for the new TooltipString property.

Toggle Buttons

MATLAB 5.2 provides a new style of Uicontrol object called a toggle button. Toggle buttons have two states, down (selected) and up (unselected). When you click on a toggle button, its state changes and its callback is executed.

Displaying Truecolor Images on Controls

MATLAB 5.2 supported the ability to display truecolor images on push buttons and toggle buttons.

Context Menus

A context menu is a menu that is attached to an object and is activated by a right-button click. Defining a context menu requires that you define a Uicontextmenu object and Uimenu children and associate the Uicontextmenu with the object to which it is attached.



[ Previous | Next ]