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
250
Change size of PopupControlContainerTool?
posted

I am using a PopupControlContainer tool in my Office 2007 UI Ribbon on a ribbon tab. The popup area does not resize to fit the control that is contained inside it though. Can I set the size of the container or have it resize to the control size that it is containing?

 

Thanks,

Colin.

  • 44743
    posted

    This sounds like a bug. I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.

    For now, to resize the container, you can try to handle the VisibleChanged event for your control. If the Control's Visible property returns True, call FindForm() on it to get the owning Form and set its size.