Ticket Q392517
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Allow explicit control over scroll bar visibility in XtraScrollableControl

XtraScrollableControl make HorizontalScroll always invisible

created 13 years ago

Hi,
I have a LabelControl placed inside a XtraScrollableControl. The XtraScrollableControl is resizable accordingly to the form size.
I want to show only the VerticalScroll, and never the HorizontalScroll.
For this, on the Resize event of the XtraScrollableControl I set the LabelControl's Size to the XtraScrollableControl.ClientSize. This works fine most of the time, but … when resizing the form I see the HorizontalScroll appearing and disappearing.
Is there something I can do so that the HorizontalScroll never appears, since it's not needed.
Thanks.

Show previous comments (5)
N N
NextUp Management Solutions 13 years ago

    Hi Gosha,
    I've placed my code inside the Layout event and everything is OK now.
    Thanks.

    Stan (DevExpress Support) 13 years ago

      Hi Ion,
      I am happy to hear that the problem is resolved now. Thank you for informing us of that.
      Please do not hesitate to contact us if you experience problems when using our products. We will be happy to help you at any time.
      Thanks,
      Gosha

      N N
      NextUp Management Solutions 13 years ago

        solved

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.