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/DropGrid problem: Value related.
Re: GridCtrl/DropGrid problem: Value related. [message #33608 is a reply to message #33605] Tue, 30 August 2011 08:14 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Please use this fix (it will be committed in the evening)
void DropGrid::SearchCursor()
{
	if(!list.IsCursor())
		return;
	
	if(trowid < -1)
		trowid = rowid;
	value = list.Get(value_col);
	rowid = list.GetRowId();
	Refresh();
}

Crash was caused by one of the latest changes (feature request) that WhenSearchString should be called when list is cleared.
Thank you for the test case! (It really speeds up finding bugs)

[Updated on: Tue, 30 August 2011 08:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl with vertical headers
Next Topic: GridCtrl: master - detail
Goto Forum:
  


Current Time: Wed Apr 24 13:33:36 CEST 2024

Total time taken to generate the page: 0.83284 seconds