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.
We have closed this ticket because another page addresses its subject:
XtraScrollableControl - Add properties to disable or hide the scrollbar and to get/ set scrollbar parameters
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
Hello Paul,
Thank you for the additional explanation. We'll consider introducing this functionality in the future.
Thanks,
Stan.