locked
FlowLayoutPanel RRS feed

  • Question

  • I have a problem when I add splitter at the first of FlowlayoutPanel doesn't appear but after add another item it appear and after it the controle I tried FlowlayoutPanelObject.update and refresh, but non of them worked

    any idea how to solve that

    Best regards

    Sunday, January 8, 2012 1:11 PM

Answers

  • Hi,

    Please explain your requirement so that we can guide you or help you to achieve it.

    Generally, FlowlayoutPanel is to a bit different from the normal Panel control in the way that it automatically aligns the controls placed in it using the property 'FlowDirection' (default value is 'LeftToRight').

    And splitter is a control whose 'Dock' property cannot be set to 'None'.So when you place a spillter control first on a flowlayout panel it automatically docks itself to the left.And if it is added after another item you can see it,but cannot control it's behaviour in a Flowlayout panel.

    My suggestion is to use always a splitter in a Panel rather than a flowlayoutpanel.

     

     


    Thanks, Satish Bommideni
    Tuesday, January 10, 2012 4:13 AM