>Hi Thanks,
>
>I got it using the other method, but tell me how can i create the subclass for the form and add the procedure and how can i access from other forms.
>
>Murali.
Take a form with the basic procedures, and give the command "Save as Class". Lets say you call the class "cDataForms", and save it in "MyClasses.vcx".
Then, base all your forms on this class, for instance, with:
CREATE FORM Client as cDataForms of MyClasses
Any changes done in the base class will affect all forms based on the class.
I suggest you read the corresponding chapters (about OOP and Inheritance) in the programmer's guide.
HTH, Hilmar.
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)