We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TabBarSplitter

Thread ID:

Created:

Updated:

Platform:

Replies:

16125 Jul 6,2004 12:52 PM Jul 6,2004 03:52 PM Windows Forms 2
loading
Tags: Tools
Lori S. Pearsall
Asked On July 6, 2004 12:52 PM

Is there any way to remove/hide the vertical scrollbar on this control if the active page doesn''t require vertical scrolling (it''s full height fits onscreen)?

Administrator [Syncfusion]
Replied On July 6, 2004 01:40 PM

Hi Lori, You can hide the vertical scrollbar of the active tabpage using the following code snippet. private void tabBarSplitterControl1_ActivePageChanged(object sender, System.Windows.Forms.ControlEventArgs e) { //Hide the scrollbar in the active tabpage foreach(Control c in e.Control.Controls) { if(c is VScrollBar) { c.Hide(); } } } Please let me know if you have any questions. Thanks. Best regards, Stephen. >Is there any way to remove/hide the vertical scrollbar on this control if the active page doesn''t require vertical scrolling (it''s full height fits onscreen)?

Lori S. Pearsall
Replied On July 6, 2004 03:52 PM

That doesn''t work - there isn''t a VScrollBar in the control collection so it never executes the .Hide(). I''ve also tried setting tabbarPage.VScroll to false it and doesn''t work. >Hi Lori, > >You can hide the vertical scrollbar of the active tabpage using the following code snippet. > >private void tabBarSplitterControl1_ActivePageChanged(object sender, System.Windows.Forms.ControlEventArgs e) >{ >//Hide the scrollbar in the active tabpage >foreach(Control c in e.Control.Controls) > { > if(c is VScrollBar) > { > c.Hide(); > } > } > >} > >Please let me know if you have any questions. Thanks. > >Best regards, > >Stephen. > >>Is there any way to remove/hide the vertical scrollbar on this control if the active page doesn''t require vertical scrolling (it''s full height fits onscreen)?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;