Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
nlneilson is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Skylark Compilation
Next Topic: How do I change the cursor to a wait state?
Goto Forum:
  


Current Time: Fri Jul 18 23:17:03 CEST 2025

Total time taken to generate the page: 0.03609 seconds