哇,我刚用过的,用StretchHandle.Attach(Button1)后,你就可以在窗体上拖动
Button1,还可更改它的大小,只要是可视化的控件都可以,
如果用多次,比如
StretchHandle.Attach(Button1);
StretchHandle.Attach(Edit1);
StretchHandle.attach(Label1);
你就可以同时拖动他们,
若用StretchHandle.attach(Form1);就汇报错,不许Attach窗体。只要调用一次StretchHandle.detach;(不带参数),那么刚才用Attach附加的控件就都失去了作用,直到下次调用Attach