Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl and SplitterFrame
Re: GridCtrl and SplitterFrame [message #36411 is a reply to message #36402] |
Thu, 24 May 2012 14:46   |
|
Thanks for the test case. Now I see what you mean 
It happens like that because grid has 3 frames:
0 - view frame
1 - scrollbar x frame
2 - scrollbar y frame
So now if you call grid.AddFrame(..) you are adding control inside y frame...
To fix this simply change:
m_grid1.AddFrame(sf2.Bottom(m_grid2,200));
to
m_grid1.InsertFrame(0, sf2.Bottom(m_grid2,200));
|
|
|
Goto Forum:
Current Time: Fri Jul 18 10:08:10 CEST 2025
Total time taken to generate the page: 0.04359 seconds
|