>thank you for reply to me
>
>and my question is how to run it at design time like when you right mouse click and select 'properties' foxpro will open properties windows or you select 'help' foxpro will open help file, what i'd like to do is add other one and when I click run my code at design time not when run this form,is there any way to do that?
There's a place for you to plug in - write a builder. I've posted two very simple builders on the UT (I think TOrder is still in the "recent" category in Files, anyway it should be in Classes-VCX), and you may take a look at the code there. From a builder, you may do whatever you want with your form - at design time. And it's not too hard to write.