Passing variables between forms and "being able to use the varable in form 2..
Posted on 2000-05-07
I thought I knew how to pass a varable.. you know ... on form 1 you say
form2.gettext.text = varable_being_passed
Then on form two you can actually print the varable out or see it in
Now my problem is I am passing a number to be inserted into a counter. In order to insure that the number is available for processing I am inserting in the form load area........
In the Timer1 area I am trying to use the number.
The problem is ... it doesnt work... The information is passing, as I can see it print out in a label on form two. I can also see it by passing it to a text box. But i DONT WANT TO SEE IT... i WANT TO USE IT in math on form two in the timer area... However in the form load area in debug testing to position of the curser... the value does not arrive in a timely manner. The text or label I use shows empty or zero..
What do I need to do to get the numeric info to form two in a timely manner... so I can use it in a math or other function?
There are actually 30-40 forms... I have tried to simplify the question.
Thanks in advance!