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   |
Zbych
Messages: 327 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:

2. column sum doesn't add last row:

3. Pop-up on cell with number (column #1) causes an assertion:


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 1300 times)
-
Attachment: grid4.PNG
(Size: 4.59KB, Downloaded 975 times)
-
Attachment: grid5.PNG
(Size: 3.12KB, Downloaded 1218 times)
-
Attachment: grid6.PNG
(Size: 2.26KB, Downloaded 1302 times)
[Updated on: Mon, 09 November 2009 13:37] Report message to a moderator
|
|
|
 |
|
Multiline popups in GridCtrl
By: Zbych on Wed, 21 October 2009 11:36
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Wed, 21 October 2009 12:24
|
 |
|
Re: Multiline popups in GridCtrl
By: zsolt on Tue, 03 November 2009 15:16
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Tue, 03 November 2009 20:45
|
 |
|
Re: Multiline popups in GridCtrl
By: Zbych on Wed, 04 November 2009 15:55
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Thu, 05 November 2009 00:41
|
 |
|
Re: Multiline popups in GridCtrl
By: Zbych on Thu, 05 November 2009 08:18
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Thu, 05 November 2009 11:52
|
 |
|
Re: Multiline popups in GridCtrl
By: Zbych on Mon, 09 November 2009 11:56
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Mon, 09 November 2009 18:09
|
 |
|
Re: Multiline popups in GridCtrl
By: Zbych on Thu, 19 November 2009 15:31
|
 |
|
Re: Multiline popups in GridCtrl
By: Zbych on Fri, 20 November 2009 15:59
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Tue, 24 November 2009 13:29
|
 |
|
Re: Multiline popups in GridCtrl
By: Zbych on Mon, 30 November 2009 09:34
|
 |
|
Re: Multiline popups in GridCtrl
By: unodgs on Mon, 30 November 2009 10:11
|
Goto Forum:
Current Time: Wed Aug 27 08:27:05 CEST 2025
Total time taken to generate the page: 0.07916 seconds
|