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
465
UltraFormManager Problems
posted

Hi

I have a form which is data driven in terms of position, size etc. I have glass turned off and the style set to RoundedSizable. It looks fantastic with the Office 2007 black style library loaded. I did have to set useAppStyling to false to get the caption area to be black for some reason as it was being coloured incorrectly.

I have a routine which saves the size of the form on formclosing and one that sets it in the constructor. Despite this my form gets progressively smaller on each run. It seems the size we save, cant be used before thr form.show method as it gets the size wrong. We've managed to get this bit working but only by manipulating clientsize instead. I should be able to manipulate the size and it should be accurate.

Further adjustments in size take place before the form show() method is executed. This is because the form is sized and then resized by other controls as they are placed on the form. It seems subsequent resizes don't work. I have noticed that the form keeps an old size when the form is shown.

I guess I need an override position in the code before the shown event but after the ultraformmanager makes its adjustments. I lve the visuals but its not helpful the way it binds itself to the form. It should be much earlier.

Any ideas?

Darren

Parents
No Data
Reply
  • 465
    posted

    To shorten this. Everything else is manageable and I can code around it.

    The biggest issue I have is that anything which sets the size of the form between form creation and the show() method being executed can't use the difference between form.size and docked panel.size to correctly size the control. The form manager seems to set the size based on its size initially.

    Regards

    Darren

Children