>I created a form and a grid on it and there is a separate class file too in the project.
>Can I reference to the grid from the class file? If I can, how?
>Thanks
If the form lives and is in scope while you instantiate the class then you can pass it to a field or property of the class in the constructor. The grid is just a property of the class.
Hope this helps.
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.