LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

windows exit button doesn't work

Hi,

 

Does anybody know why the windows' red exit button doesn't work for my program?

 

Thanks

0 Kudos
Message 1 of 4
(3,326 Views)

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...

0 Kudos
Message 2 of 4
(3,325 Views)

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?

0 Kudos
Message 3 of 4
(3,319 Views)

@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.

0 Kudos
Message 4 of 4
(3,314 Views)