Yes, you can use the dock property. Just add one more panel, say
dockPanel. When you detected that a panel is moved into the dockPanel,
change the parent control and dock property of the panel. I think this
can help you to arrange the panels in a specific part of your win
form. But if you want to move the panels anywhere in your win form,
and let them to detect and arrange themselves, I think it is really
difficult.


On Thu, Mar 19, 2009 at 7:16 PM, Shraddha rashinkar
<shraddha.rashin...@gmail.com> wrote:
> By using dock property it would be docked to its parent control.
>
> But I dont want one panel to overlap other panel.
>
> Regards,
> Shra
>
> On Thu, Mar 19, 2009 at 7:28 AM, David Shen <davidshe...@googlemail.com>
> wrote:
>>
>> On Wed, Mar 18, 2009 at 9:35 PM, Shraddha rashinkar
>> <shraddha.rashin...@gmail.com> wrote:
>> > Hi,
>> >
>> > I want to move panels like igoogle site on windows form in vb.net.
>> >
>> > I can make them moveable but the problem is when I move panel1 on
>> > panel2, it
>> > overlaps the panel2 .
>> >
>> > Instead, I want the panel2 to move downwards and arrange it in order.
>> > Please
>> > check igoogle site, where we can move panels easily as required.
>> >
>> > Thank u
>> > Shra
>>
>> Maybe you can try to set the dock property.
>>
>> --
>> Best Regards,
>> David Shen
>
>



-- 
Best Regards,
David Shen

Reply via email to