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
2549
FlowLayoutManager adding/removing (visible/invisible) controls
posted

Hi all,

I have a question regarding the FlowLayoutManager.

I added the manager to my form and set its ContainerControl to an UltraPanel.ClientArea

In the panel there are 3 usercontrols. Now I show/hide some of them and expected that the lowest control would "move up" if the middle control becomes hidden (I also tried to remove the control from the panel, same result) but the space the middle control used is still there -> a gap remains.

Is this the rigt behavior? Or am I missing something?

I also experienced problems setting the ContainerControl to the UltraPanel.ClientArea via designer.
It just won't keep the selected value, only after removing the manager and readding it  its value was kept (actually I had the ClientControl set to a groupbox before).

Any help is kindly appreciated,
best regards
Andy

  • 2549
    posted

    After rebooting my machine the problem magically disappeared...
    Everything now works as expected.