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 » Passing an ArrayCtrl / SqlArray to a function template
Re: Passing an ArrayCtrl / SqlArray to a function template [message #49284 is a reply to message #49283] Mon, 15 January 2018 17:39 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 265
Registered: March 2010
Experienced Member
for your case, I think the best is to use lambda expression :
buttonExport << [&] {util::ExportCSV(Jobs);};


to answer your question, THISBACK only accepts memeber functions.
for a global function, uses callback:
buttonExport.WhenPush = callback1(util::ExportCSV, Jobs);


regards
omari.

[Updated on: Mon, 15 January 2018 17:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: build methods
Next Topic: StreamRasterEncoder?
Goto Forum:
  


Current Time: Fri Apr 26 02:43:25 CEST 2024

Total time taken to generate the page: 0.03977 seconds