How to realize moving a contol in a panel

  • Thread starter Thread starter °Ë´óɽÈË
  • Start date Start date
°

°Ë´óɽÈË

Hi,

I want to realize moving contols in a panel, just like
Form Desinger in VS.NET. How shall I realize it? Thank you.

Jerry
 
0K4sI=HK said:
Hi,

I want to realize moving contols in a panel, just like
Form Desinger in VS.NET. How shall I realize it? Thank you.

Alter the 'Location' property of the control. It's the X, Y coordinate of
the control inside its host/container, in your case the panel.

Frans.
 
Thank you for your answering. But I want to implement the UI like Form
Designer -- Drag a control, a Frame moved with
mouse. Can I realize it by DragDrop?

Jerry
 
Back
Top