Parent and child GUI actions

バージョン 1.0.0.0 (1.99 KB) 作成者: Paul Kelly
How to lay one GUI out on another. How one of the GUI can call a function in the other.
ダウンロード: 501
更新 2012/1/18

ライセンスの表示

GUIDE is good for creating a straightforward GUI, but for something with more complexity I think creating them in code is easier.

In this code I show how to create a "parent" GUI and place a "child" GUI onto it. In the example, both parent and child have their own pushbutton controls, but it shows how the parent can call a function that belongs to the child.

Note that this is part of a larger project to make more space available on a GUI. By creating more than one child GUI on the same part of the parent, and setting/unsetting their 'Visible' property, you can emulate the kind of tabbed pages you get in Windows apps.

This is my first attempt to post an example so please excuse any etiquette offenses, etc.

引用

Paul Kelly (2025). Parent and child GUI actions (https://www.mathworks.com/matlabcentral/fileexchange/34642-parent-and-child-gui-actions), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2011a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDialog Boxes についてさらに検索
タグ タグを追加
gui

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0