Results 1 to 3 of 3

Thread: Passing objects between forms

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181

    Passing objects between forms

    I have a form open, frmMain. I then open another frm, frmOptions which has a number of options to select. I then need to pass these back to frmMain. However if I dim frm as frmMain it doesn't see any of its subs and i can't do 'as new frmMain' as i don't want a new instance. Anybody got the answer??
    Wind and waves resolves all problems.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I'm not sure what you mean but there have been a lot of these types of questions answered already.

    If I understand correctly then you can pass a reference of the calling form to the frmOptions and then have it pass the info back before closing.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    Cheers, I should have engaged my brain - Monday mornin blues
    Wind and waves resolves all problems.

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