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 » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl::ItemRect::GetConvert() return always NULL!!
GridCtrl::ItemRect::GetConvert() return always NULL!! [message #59953] Mon, 12 June 2023 17:54
omari is currently offline  omari
Messages: 266
Registered: March 2010
Experienced Member
it return ItemRect::convert that is initialized with NULL, and is always NULL.
				Convert*  GetConvert()                            { return convert; }


and SetConvert() does not change ItemRect::convert.
GridCtrl::ItemRect& GridCtrl::ItemRect::SetConvert(Convert &c)
{
	(*edits)[id].convert = &c;
	return *this;
}


it seem that either : GetConvert shall return (*edits)[id].convert
or SetConvert shall set ItemRect::convert ( convert = &c;)


regards
omari.
Previous Topic: GridCtrl: Assert Crash due to out of focus Remove
Next Topic: ArrayCtrl get the displayed rows
Goto Forum:
  


Current Time: Thu May 09 21:56:25 CEST 2024

Total time taken to generate the page: 0.01473 seconds