Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1785
UltraExpandableGroupBox horizontal scroll
posted

I have an UltraExpandableGroupBox whose AutoScroll property of the child UltraExpandableGroupBoxPanel is set to TRUE.  I have added a bunch of controls, some of which extend past the right side of the UEGB and thus cause the horizontal scroll bar to appear.  This is good.

What isn't so good is that the scrollbar doesn't function in the designer.  That is, I can't actually scroll the UEGB in design-mode to access those controls off the right-hand side.

Am I missing something?  Thoughts?

Thanks...  Steve

  • 37774
    Verified Answer
    posted

    Steve,

    This is something that needs to be done in the UltraGridExpandableGroupBoxPanel's designer, since it basically needs to override GetHitTest and let the VisualStudio designer host know that the control should handle the mouse clicks.  I have made this change, through bug# 20952, and have submitted this thread to Developer Support so that you can be notified when the fix is available.  You could also probably derive your own panel and designer yourself and override GetHitTest.  If you have access to the source code, in the Design assembly the UltraGridRowEditTemplateDesigner basically does the same thing in order to allow the contents to scroll.

    -Matt