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

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: Tue Sep 01 17:12:12 GMT+2 2026

Total time taken to generate the page: 0.00534 seconds