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 » first row strange behaviour
Re: first row strange behaviour [message #4907 is a reply to message #4906] Thu, 24 August 2006 21:10 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
The trouble here is that no window is opened at the "GoBegin" time.

This again works:

#include <CtrlLib/CtrlLib.h>

GUI_APP_MAIN
{
	ArrayCtrl a;
	a.AddColumn("1");
	a.AddColumn("2").Ctrls<EditDate>();
	
	for(int i = 0; i < 300; i++)
		a.Add(i, GetSysDate() + i);

	TopWindow win;
	win.Sizeable();
	win.Add(a.SizePos());
	win.Open();
	a.GoBegin();
	win.Run();
}


Anyway, I will try to fix it to work even in the "unopened" mode.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: About GetClickRow() and GetCursor()
Next Topic: How set read-only state to a editable column?
Goto Forum:
  


Current Time: Tue Sep 02 04:03:08 CEST 2025

Total time taken to generate the page: 0.09757 seconds