U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » THISBACK, is there a THATBACK?
THISBACK, is there a THATBACK? [message #47786] Sun, 26 March 2017 06:50 Go to previous message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
On the click of a button, if we want to perform some type of action, we can specify:

myPanel.someBtn << THISBACK(doThis);

"doThis" is a local method that's executed on the click of the button, "someBtn". If wanting to for example call a method of an already created object, how does one specify something like:?

myPanel.someBtn << THISBACK(canvas.doThis);

Is there a way to do this, call a method of an object?


Peter
 
Read Message
Read Message
Read Message
Previous Topic: Link error:
Next Topic: Where i can start learning u++?
Goto Forum:
  


Current Time: Mon Sep 28 17:19:48 GMT+2 2026

Total time taken to generate the page: 0.24593 seconds