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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top