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 » THISBACK
THISBACK [message #39215] Thu, 28 February 2013 22:39 Go to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Hi all,
here a new question for u guys Very Happy

Is it possible to have a DropList with more than a THISBACK ? how?

Regards,
Matteo

Re: THISBACK [message #39217 is a reply to message #39215] Fri, 01 March 2013 07:26 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

idkfa46 wrote on Thu, 28 February 2013 22:39

Hi all,
here a new question for u guys Very Happy

Is it possible to have a DropList with more than a THISBACK ? how?

Regards,
Matteo



Hi Matteo,

Do you mean having multiple callbacks on one action? That is possible to do by chaining them with operator<< :
myctrl << THISBACK(Action1);
myctrl << THISBACK(Action2);
myctrl << THISBACK(Action3);


Best regards,
Honza
Re: THISBACK [message #39224 is a reply to message #39215] Fri, 01 March 2013 20:57 Go to previous messageGo to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Lovely!
Thx Honza Smile

[Updated on: Fri, 01 March 2013 20:58]

Report message to a moderator

Re: THISBACK [message #39260 is a reply to message #39224] Wed, 06 March 2013 20:58 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Ho...

Quote:

myctrl << THISBACK(Action1);
myctrl << THISBACK(Action2);
myctrl << THISBACK(Action3);

Well I never picked this one up.

Good thing to know.
Previous Topic: Report and ReportView
Next Topic: [SUCCESS] Struggle with Serial port class
Goto Forum:
  


Current Time: Fri Mar 29 06:18:34 CET 2024

Total time taken to generate the page: 0.02374 seconds