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 » Creating a form inside a DLL
Re: Creating a form inside a DLL [message #33905 is a reply to message #33825] Sat, 24 September 2011 21:01 Go to previous messageGo to previous message
tcler is currently offline  tcler
Messages: 4
Registered: September 2011
Junior Member
ok, next question. how to create custom sorting function for column in arrayctrl?
int cmpv(const Value& row1, const Value& row2)
{
	if (pureValue (String(row1)) > pureValue (String(row2))) return 0; else return 1;
}

function works fine, but sorting the table does not:
ExampleTable.ColumnAt(2).Sorting(cmpv);

access violation in Upp::sAC_ColumnSort::operator()(const Upp::Value & a, const Upp::Value & b):
ExampleTable.ColumnAt(2).Sorting(FnValueOrder(cmpv));

any ideas, please.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scatter: To find width bwt any two points.
Next Topic: gridctrl with sql
Goto Forum:
  


Current Time: Wed Jul 16 18:12:44 CEST 2025

Total time taken to generate the page: 0.03745 seconds