Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Exit app from menu on control in Tab
Exit app from menu on control in Tab [message #58131] |
Fri, 25 February 2022 09:44  |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
I want to exit the app from a menu-item on an ArrayCtrl::WhenBar-handler in a TabCtrl in the main window.
I am using bar.Add("Exit", [&]{ Break(); }); --- bug - assertion fails
I also tried bar.Add("Exit", [=]{ Break(); }); but get same error
What is the right way to do so?
|
|
|
Goto Forum:
Current Time: Fri May 09 11:21:05 CEST 2025
Total time taken to generate the page: 0.01273 seconds
|