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 #4906 is a reply to message #4903] Thu, 24 August 2006 20:04 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1215
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Thu, 24 August 2006 18:33

...
seems to work OK...

Mirek

But this doesn't work:

#include <CtrlLib/CtrlLib.h>

GUI_APP_MAIN
{
	ArrayCtrl a;
	a.AddColumn("1");
	a.AddColumn("2").Ctrls<EditInt>();
	
	for(int i = 0; i < 300; i++) a.Add(i, i);
   
        a.GoBegin(); // <<<<< without works
    
        TopWindow win;
	win.Sizeable();
	win.Add(a.SizePos());
	win.Run();
}

The problem is the method GoBegin(). I need it because in my app the cursor is at the end of the array.

Luigi
 
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:02:48 CEST 2025

Total time taken to generate the page: 0.05174 seconds