K kelphi Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-23 #1 比如,bitbtn只能在panel1中移动。当鼠标移动到bitbtn上的时候它会random移动,但不会移出panel1中。
S superljj Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-24 #6 Button1.Left :=Random(Panel1.Width -Button1.Width); Button1.Top :=Random(Panel1.Height -Button1.Height);
Button1.Left :=Random(Panel1.Width -Button1.Width); Button1.Top :=Random(Panel1.Height -Button1.Height);