1 Replies - 1369 Views - Last Post: 13 January 2014 - 06:09 PM Rate Topic: -----

#1 AlexComp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 13-January 14

Passing Variables Between Forms

Posted 13 January 2014 - 05:45 PM

Hi, I would like some help with passing a variable to another form. I'm pretty much a beginner so I'm not even sure if this is possible?

Basically, if I have a variable declared as an Integer on Form1. How can I pass that to Form2 so I can use it in that form?

Any help appreciated!
Is This A Good Question/Topic? 0
  • +

Replies To: Passing Variables Between Forms

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13567
  • View blog
  • Posts: 54,133
  • Joined: 12-June 08

Re: Passing Variables Between Forms

Posted 13 January 2014 - 06:09 PM

Typically one would make a public property or method and pass it that way.

In fact we have a great tutorial on it:
http://www.dreaminco...-between-forms/
Was This Post Helpful? 2
  • +
  • -

Page 1 of 1