Define the method with a parameter type ';control'; or ';object'; being passed to it, and use that variable (parameter) to pass the flexgrid control/object.How do you pass an MSFlexGrid control to a method in a class as a parameter?
In your method defintion, put
YourMethod(ByRef flexGrid as MSFlexGrid)
or whatever the actually object name is or just
YourMethod(ByRef obj as Object)
This is VB syntax.
C++ would use a pointer to an object.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment