>>Thank you Mr. Cetin
>>
>>I hope we are very near to solve this problem. But still I need some more help that how i will use you code (please write the complete command). Fox example the form name is ABC. The prg created by your codes is RTOL.PRG.
>
>Ok.
>-Go to command window
>Modi form abc
>
>-Click on any control(s)
>-Go to command window (at least one control is selected in form)
>do rtol
>
>Cetin
Warning. This is kind of builder but run once. Otherwise each run would cause field to align with its labels left and label get to its right (causing controls to go right with successive runs).
Cetin