Monte

Monte

  • NA
  • 24
  • 8.6k

Passing Data between forms

May 9 2011 11:53 AM
My application reads an array from another system and this

array is holding data that is updated every second using a

timer in the Parent form.

The Parent form has a textbox and a button to open a new

Child Form. When the button is pressed the Child Form is

opened and displays a live value according to the index which

was entered in the text box of the Parent Form.

I have this working fine with the live value being

continually updated on the Child Form using parameters (ie

the Get & Set commands in the Child Form).

My problem is that I want to open multiple Child Forms that

can each display a different live value and be updated every

second.

When I open the second (or third, fourth etc ) Child Form I

have the problem that only the last Child Form opened is

updated with live values. The Child Forms that were opened

before, just show the last values and are not updated.

Can anyone point me in the right direction to get the live

values to update on each Child Form...

I have not copied in my code as have played around with it

quite a lot and would need to clean it up before presenting

to everyone. I was looking for a point in the right direction

rather than being spoon fed code. If needed, I can post the

code...

Many thanks in advance

 

Answers (21)