Ticket S130360
Visible to All Users
Duplicate

Allow explicit control over scroll bar visibility in XtraScrollableControl

created 16 years ago

I'd like to be able to force either the vertical or horizontal scroll bar in an XtraScrollableControl to be visible rather than relying purely on the automatic behaviour. The reason is that the vertical scroll bar pops in and out of existence as the contents of the XtraScrollableControl are modified. This causes the child controls to resize and move annoyingly.
So could we have a couple of properties that allow the scroll bars to be forced on please?
Proposed Solution:
Add a property such as AlwaysVisible to the HorizontalScroll and VerticalScroll properties on XtraScrollableControl.

Comments (3)
Stan (DevExpress Support) 16 years ago

    Hello,
    Please review the following thread to learn more about a solution: XtraScrollableControl - Add properties to disable or hide the scrollbar and to get/ set scrollbar parameters
    Thanks,
    Stan.

      Stan,
      I did find and consider S18018 before raising this suggestion. The HorizontalScroll and VerticalScroll properties in their current form do not provide the functionality that I am after.
      While there is a Visible property in them, it is ineffective when the XtraScrollableControl.AutoScroll property is true. The scroll bars appear and disappear depending upon the control contents. Alternatively when AutoScroll is false, setting HorizontalScroll.Visible or VerticalScroll.Visible has no effect. The scrollbars are never shown. In fact if you inspect the Visible property it always returns false.
      Under my proposed solution the AlwaysVisible property would be added to HorizontalScroll and VerticalScroll. These settings would override the behaviour when AutoScroll decides that one or the other of the scroll bars should be hidden.
      Paul

      Stan (DevExpress Support) 16 years ago

        Hello Paul,
        Thank you for the additional explanation. We'll consider introducing this functionality in the future.
        Thanks,
        Stan.

        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.