How can I pass an array between forms and classes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brooklynr
    New Member
    • Jan 2015
    • 1

    How can I pass an array between forms and classes?

    For a project I need to be able to pass an array from the form generating it, to a sort class, then back to another form. How can I do this? I have tried many things and none seem to be working, it is my first year with programming so any help would be really appreciated! Thank you
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Please post what you have tried so far.
    You have created an array in one form...

    Now you want to pass this to a class, so you created a class and you have instantiated it in the form so that you can use it...

    But I'm not sure how you have designed the class so I can't give you any advise on what you need to do to pass it.

    Please also let us know what language you are using.

    Thanks

    -Frinny

    Comment

    Working...