How do I pass information from main form to the child form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bakayarou
    New Member
    • Aug 2014
    • 1

    How do I pass information from main form to the child form

    Hello.

    I have two forms which is form1 and form2. I have a 2 labels( labelA and labelB ) from form1 that opens form2 but I got stuck from where I need to connect both labelA and labelB from form1 to label1 on form2 that will change according to what is told.

    It doesn't let me use labelA and labelB in form 2. So, how do I ask labelA when clicked to change label1 to orange else if, labelB is clicked label1 will change to apple for example?

    Thank you in advance and I'm sorry if I did not explained it well.
    Last edited by bakayarou; Aug 10 '14, 08:16 AM. Reason: of=if; typo.
Working...