Home » Community » Newbie corner » "Enter" code
Re: "Enter" code (Solved and working OK) [message #37332 is a reply to message #37331] |
Sun, 23 September 2012 07:45  |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
It depended on where the THISBACK was placed, just after menu.Set(THISBACK(MainMenu)); worked OK.
Also was able to call Point1Action directly.
menu.Set(THISBACK(MainMenu)); // Set the menu callback
P1 <<= THISBACK(Point1Action);
P2 <<= THISBACK(Point2Action);
edit: The only thing that was necessary was to:
create a button in dlg.lay
Button P1;
P1 <<= THISBACK(Point1Action)
[Updated on: Sun, 23 September 2012 08:25] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Jul 19 02:19:22 CEST 2025
Total time taken to generate the page: 0.03286 seconds
|