Saber wrote:
How can I pass *me* as an arguman to a function?
I want to modify form's maximizebox, backgroundimage, etc within a module.
Depending on whether the procedure in the module is designed to work on
any Form, or just forms of one particular type, you would write it as:
Public Sub DoStuffToForm(ByVal f As Form)
f.MaximizeBox = 'whatever
or
Public Sub DoStuffToForm(ByVal f As FMyFormType)
f.MaximizeBox = 'whatever
Either way you would call it from the form with
DoStuffToForm(Me)
--
Larry Lard
Replies to group please