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 [message #37331 is a reply to message #37329] Sun, 23 September 2012 07:01 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I looked at the Button example and tried this:
//		button <<= THISBACK(Click);
	P1 <<= THISBACK(p1Enter);
	
	
	void p1Enter(){
        Point1Action();
	}


I have:
Button P1;

P1 <<= THISBACK(p1Enter);
throws errors

The p1Enter() works OK from a sub menu but I would like just clicking on the button to work.

With just the U++ core code rather than getting into
void Mouse_LeftClick(); if that can be done.
 
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: Sat Jul 19 02:19:23 CEST 2025

Total time taken to generate the page: 0.03827 seconds