>>Hi Chuong,
>> you can save a form as class,then use View Class Code of Class Browse under Tools to get the codes.
>
>I am not sure about VFP7, but in VFP8 and 9 you could open forms directly in Class Browser. There is no need of such convertion.
That is possible even in VFP 6, which I current use a lot.
I usually use the command:
do (_browser) with "MyForm.scx"
For class libraries, the extension is not required. You probably know this; I am writing, in part, for others who read this thread.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)