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 - Child Ctrl, selected row, focus issue
Re: GridCtrl - Child Ctrl, selected row, focus issue [message #10117 is a reply to message #10113] Thu, 21 June 2007 08:55 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

Quote:

There appears to be an issue with GridCtrl related to child ctrls the selected row and focus in general.

Thanks for the test case!. Bug is hopefuly fixed (I hope it wont break something else - grid is quite complicated). Before I put here the new GridCtrl (I'm almost done with NoEditable) comment IsNewCol() in Go0(...) in two places.
case GO_LEFT:
{
	if(!SetCursor0(curpos.x < 0 ? firstVisCol : curpos.x - 1,
		   curpos.y < 0 ? firstVisRow : curpos.y,
		   0, 0, -1, 0, ctrlmode)/*.IsNewCol()*/)
	return false;
	break;
}
case GO_RIGHT:
{
	if(!SetCursor0(curpos.x < 0 ? firstVisCol : curpos.x + 1,
		   curpos.y < 0 ? firstVisRow : curpos.y,
		   0, 0, 1, 0, ctrlmode)/*.IsNewCol()*/)
	return false;
	break;
}




 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ctrls<>() Callback / Disable some rows
Next Topic: GridCtrl 'Key' modifications / questions
Goto Forum:
  


Current Time: Fri Jul 18 10:49:34 CEST 2025

Total time taken to generate the page: 0.04897 seconds