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
160
FormDisplayStyle Changes Form Height
posted

 I have a form that inherits from a class (BaseForm).  The baseform class handles basic tasks like saving and restoring window sizes.  I noticed that after adding an UltraToolBaManager to my form (not BaseForm) and enabling the FormDisplayStyle property to RoundedSizable that the form.Height property changes.  It drops the value by 8.  The result is when I close the form and save the height it is smaller than the form actually is.  When I reopen the form and restore the height it is smaller than before.  Do this 6-8 times and the form height is down to 0.  The following code example in a form should be able to recreate the problem.

-----------------------------------------------------------------------------

Debug.WriteLine(this.Height.ToString());

toolbar1.FormDisplayStyle=Infragistics.Win.UltraWinToolbars.FormDisplayStyle.RoundedSizable;

 Debug.WriteLine(this.Height.ToString());

-----------------------------------------------------------------------------

 Is this expected or explained behavior or a defect.

Parents
  • 44743
    posted

    There were some sizing issues that were found a while ago with inherited forms, but they should have all been fixed. It looks like there may still be some issues though. I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.

Reply Children
No Data