Creating Graphical User Interfaces Previous page   Next Page

General Information About the Component

These are properties you need to navigate the GUI hierarchy and to identify or locate components.

Children

A vector of handles that describes the children of the component. You can use this property to reorder the children - effectively changing the tabbing and stacking order.

Parent

The handle of the parent component or figure. You can change a component's parent by setting this property to the handle of the new parent.

Tag

A string used to identify a component. In general, within a GUI, each component's Tag is unique. GUIDE uses the Tag, in combination with the GUI name, to create callback names and some file names.

With the findobj function, you can locate an object with a given Tag. This saves you from defining object handles as global variables. For example, this function call returns the handles of all children (of the specified figures) that have the Tag value 'FormatTb'.


Previous page  Properties That Control Component Behavior Information About Component State Next page

© 1994-2005 The MathWorks, Inc.