08-08-2013 03:42 PM
Hi,
Does anybody know why the windows' red exit button doesn't work for my program?
Thanks
08-08-2013 03:52 PM
Did you assign it a close control? In the UI editor, Edit Panel, there is a ring control labelled 'Close control'. Have a closer look there...
08-08-2013 06:15 PM
The close button is set to be in the menu, so I it's not in tle list of this close control.
What should I do?
08-08-2013 10:43 PM
@Hamed_47 wrote:
The close button is set to be in the menu, so I it's not in tle list of this close control.
Sorry, I did not understand what you mean.
The ring control lists all the controls you have on the panel, and usually there is a QUIT ot EXIT button. You may want to select this one.
What this ring control does is equivalent to setting the ATTR_CLOSE_CTRL programmatically, i.e. you define the ID of the control for which a commit event is generated when you select the Close item in the Windows system menu.