>Yes,that's fine!
>...but,according to this way,I have to write my code in the method at design time,like write "compile" or "execscript()",but sometimes I don't know which method I can to execute,and I'll write method at runtime,example:I save the code and the method name into a table,table stru:
>
>object..........................method_name............code
>----------------------------------------------------------------------
>thisform.grid1.column1.text4....valid..................wait wind 'test'
>thisform.grid1.column1.text9....valid..................wait wind 'test'
>user define.....................user define............user define
>
>and want to write method from these records at runtime...
>
>thxk
Sorry I don't understand what you mean. The code I supplied doesn't need you know the code beforehand.
Cetin