U++ framework
Do not panic. Ask here before giving up.

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: 1244
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: Sun Oct 18 03:39:34 GMT+2 2026

Total time taken to generate the page: 0.26229 seconds