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 » GridCtrl and SplitterFrame
Re: GridCtrl and SplitterFrame [message #36411 is a reply to message #36402] Thu, 24 May 2012 14:46 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

Thanks for the test case. Now I see what you mean Smile
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));


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl Clipboard just for copying
Next Topic: GridCtrl: Feature Requests
Goto Forum:
  


Current Time: Fri Jul 18 10:08:10 CEST 2025

Total time taken to generate the page: 0.04359 seconds