problem with using if statements
1 view (last 30 days)
i have 2 options in popupmenu and both of the options has 2 panels which contain pushbutton. when i select option1, the pushbutton in panel2 is disabled..when i select option2, the pushbutton in panel1 is disabled.
what can be corrected?
Arthur on 6 Nov 2012
You placed the code intothe CreateFcn of te popup. This means the code is only executed when the popup is created, not when you press it. Cut and paste the code into the CallbackFcn of the popup, and it probably works.