Prev: MS VC++ Runtime error when start MATLAB!!
Next: Need help with solving a differential equation system.
From: pedro moreno on 26 Jul 2010 13:31 Hello matlab's partners, Since several days, I have the next challenge. Imagine that I have a main GUI (GUI_1), with a pushbutton (button_main), which returns other GUI (GUI_2). This GUI_2 has two button (acept and cancel), and info about config. Cases: If user clicks in acept (in GUI_2), info is saved, GUI_2 is closed, and button_main is set to green. If user clicks in cancel (in GUI_2), info isn't saved, GUI_2 is closed, and button_main doesn't change the default colour. Question: ¿How does the program know if user clicked in acept or cancel? (REMEMBER, colour is only set after GUI_2 is closed). I's not easy for me, but I'm sure that it's a stupid thing for you, ¿could you help me, please? Thanks in advance. |