Results 1 to 4 of 4

Thread: passing a form as form

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    3

    passing a form as form

    This is an example of something I am trying to do. Can anyone help me with this code:

    Code:
    '(placed in form @ form load)
    
    Private Sub Form_Load()
    initialize Me
    End Sub
    
    '(placed in code module)
    
    Public Sub initialize(fmInit As Form)
    
    fmInit.Caption = "OK"
    
    End Sub
    The compiler says "type mismatch"
    Last edited by Hack; Jan 25th, 2010 at 12:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width