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 » When ArrayCtrl is Embedded into TabCtrl, AutoHideSb() will be fail
Re: When ArrayCtrl is Embedded into TabCtrl, AutoHideSb() will be fail [message #20831 is a reply to message #20830] Sun, 12 April 2009 23:27 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
If you stop calling _array.HeaderObject().Absolute(); there isn't any problem with scrollbar, but you loose horizontal scroll.

I wasn't able to compile your example in Linux until I've changed
typedef _TestArrayCtrl< WithTestArrayCtrlLayout<Ctrl> > testArrayCtrl; // TestArrayCtrl (uppercase T)

and in _TestArrayCtrl<T>::_TestArrayCtrl() constructor
T::_array.AutoHideSb(true);
T::_array.HeaderObject().Absolute();
// etc.
because g++ doesn't know from where to get _array.

Anyway, why do you choose to add an array to a tab as a layout and not add it directly?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: finding row by key
Next Topic: GridCtrl column width simple question
Goto Forum:
  


Current Time: Mon Aug 25 12:48:16 CEST 2025

Total time taken to generate the page: 0.05712 seconds