Results 1 to 4 of 4

Thread: [RESOLVED] Referring to form in class of forms

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2008
    Posts
    8

    Resolved [RESOLVED] Referring to form in class of forms

    Hello all,

    Feel like this is a silly question, but I have not been able to find the answer.

    Say, I have a form called frmClass, from which I instantiate 2 forms at run time:

    Public frm1 As New frmClass
    Public frm2 As New frmClass


    If I issue the Me. keyword in source code, it responds with "frmClass" rather than "frm1" or "frm2".

    How do I make reference to the instantiated forms within the class?
    Last edited by KeithLockhart67; Apr 20th, 2011 at 12:04 PM.

Tags for this Thread

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