フィルターのクリア

Load listbox content with main form

1 回表示 (過去 30 日間)
Simon
Simon 2016 年 3 月 13 日
回答済み: Geoff Hayes 2016 年 3 月 13 日
Hello,
I create a GUI with Matlab which contains also a listbox. To fill the list box I have a function (fill_listbox).
Where have I to put this function, that the listbox is filled immediately after loading the GUI?
I solved this problem by clicking a button. Is there a more handy way?

採用された回答

Geoff Hayes
Geoff Hayes 2016 年 3 月 13 日
Simon - if you have created your GUI using GUIDE, then put this fill_listbox function in the _OpeningFcn of your GUI. Else, if you are creating your GUI programmatically, then you can call this function soon after you have created the controls and just before you show the GUI.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by