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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Multiline popups in GridCtrl
Re: Multiline popups in GridCtrl [message #23638 is a reply to message #23617] Mon, 09 November 2009 11:56 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 332
Registered: July 2009
Senior Member
unodgs wrote on Thu, 05 November 2009 11:52

I push this change up to the repository together with other changes.


Hi,
I've found a few other problems:

1. When I move mouse cursor from one cell to another, pop-up shows content of the previous cell:
index.php?t=getfile&id=1981&private=0

2. column sum doesn't add last row:
index.php?t=getfile&id=1980&private=0

3. Pop-up on cell with number (column #1) causes an assertion:
index.php?t=getfile&id=1982&private=0
index.php?t=getfile&id=1983&private=0

Test code:
struct App : public TopWindow
{
	typedef App CLASSNAME;
	Button ok;
	GridCtrl grid;
	void AddToGrid();
	
	App(){
	grid.HSizePosZ(10,10);
	Sizeable();
        Add(grid.SizePos().HSizePos(50,50).VSizePosZ(50,50));
        grid.SummaryRow();
        grid.AddColumn( "Name").DoSum("%d");
        grid.AddColumn( "Surname").DoSum("%d");
	grid.ColorRows(); 
		
	ok.WhenPush = THISBACK(AddToGrid);  
	ok.SetLabel(t_("OK")).HCenterPosZ(76, -84).BottomPosZ(8, 32);
	Add(ok);
	}
};

void App::AddToGrid(){
		grid.Clear();
		for(int l=0; l<3; l++){
			grid.Add(l, 1);	
		}
		Beep(1000,100);
}

GUI_APP_MAIN
{
	App app;
	app.Run();
}
  • Attachment: grid3.PNG
    (Size: 2.23KB, Downloaded 1518 times)
  • Attachment: grid4.PNG
    (Size: 4.59KB, Downloaded 1194 times)
  • Attachment: grid5.PNG
    (Size: 3.12KB, Downloaded 1442 times)
  • Attachment: grid6.PNG
    (Size: 2.26KB, Downloaded 1525 times)

[Updated on: Mon, 09 November 2009 13:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IsMultiSelect() bugfix in ArrayCtrl
Next Topic: Paste column in GridCtrl
Goto Forum:
  


Current Time: Sat Aug 29 22:54:52 GMT+2 2026

Total time taken to generate the page: 0.00591 seconds