I haven't worked with it at all, but at run-time, you can use the ZOrder() method. This moves the control to the top or bottom of the 'firing stack'. I not quite sure how to determine the actual order though.
If the form/class is designed visually you can control that order at design time with the menu option Format->bring to front / send to back. This changes the order of the control in the stack.
I believe that firing order is determined by the order of the records in the .scx / .vcx file, and you could change them manually there.
hth
>Hi,
> How could I re-order the sequence of controls? I tried to re-order tab of each controls, but the sequence of controls is not followed as I set when I use loop to go through each of the controls.
>How to solve it?
>
>Thank you
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!