Tieing a pop-up menu to a push button

3 次查看(过去 30 天)
Jay
Jay 2015-12-16
编辑: Jay 2015-12-19
I have 2 pushbuttons and 2 pop-up menus.
I want to tie pushbutton 1 to pop-up menu 1 and pushbutton 2 to pop-up menu 2.
I only want the user to be able to choose one or the other pushbuttons.
I then want the different names in their respective pop-up menus to link to separate GUIs.
I have tried to breakdown the GUI example used in the help section to no avail.
  4 个评论
Jay
Jay 2015-12-16
I have since found the below comment.
Is this applicable for a single selection pushbutton?
*See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)".
Jay
Jay 2015-12-19
编辑:Jay 2015-12-19
I have progressed to the comprehension that I want to have a primary pop-up box with two headings. Eg. AM and PM
The secondary pop-up box (which will depend on the parents pop-up box selection) will be:
AM: 'Twenty Four','Three', 'Six' or 'Nine' PM: 'Twelve', 'Fifteen', 'Eighteen' or 'Twenty One'
to no avail.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by