>Hi Guys, > >Is it possible in vfp to move controls in a form during runtime? The idea is to give the users the flexibility to design the layout of controls in a form.
Hello,
I don't know if this is the answer you want, but in VFP moving controls at runtime is very simple: Example:
* Move button1 to position 10,10 of the form
form1.button1.left = 10
form1.button1.top = 10
* Move button1 to position 20,20 of the same form
form1.button1.left = 20
form1.button1.top = 20