View Single Post
  #4 (permalink)  
Old February 3rd, 2004, 08:36 AM
pgtips pgtips is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes I understand that, what I mean is why can't you change the module functions from:
Public Function DoSomethingWithGrid(arg1, ..., argN)
to
Public Function DoSomethingWithGrid(theForm, arg1, ..., argN)
then when you call DoSomethingWithGrid just pass in 'Me' as the first argument.

(You could instead pass in a reference to the actual Grid object rather than its containing form - I think I prefer that...)

hth
Phil
Reply With Quote