I haven't used them, but look at ReadExpression and WriteExpression in vfp help. Note: only works works with 5.0 or later AFAIK.
hth
>i know this method, but what i want to do is use coding method to declare a object event~!
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!