Bon011
I want to get code to create the form from existing from.
Load the class browser, and open it, switch the file type at the bottom from class to form, find your form and once the form is loaded in the class browser use the "view code" button.
A word of caution the code that this might produce is usable most of the time in a function, but in some case (like grids) it may not work. It is "pseudo-code", meaning it is the code that VFP uses to generate the form, which might not always work.
Mike Gagnon
If you want to get the best response to a question, please check out FAQ184-2483 first.