none
How can I retrieve the label I created in Form 3 to be displayed under my button in Form 2? RRS feed

  • Question

  • Under the button (in Form2) I have already stated Form3 frm = new Form3() frm.Show(); but my labels from Form3 still will not show up when i start typing. Any ideas? Thanks!
    Wednesday, November 21, 2012 11:50 PM

Answers

  • Make the controls you want to export public.

    "Premature optimization is the root of all evil." - Knuth

    If I provoked thought, please click the green arrow

    If I provoked Aha! please click Propose as Answer

    Thursday, November 22, 2012 2:34 AM

All replies

  • You probably have a compilation error higher up in the code that has perplexed intelli-sense. Fix all Errors that show up wen you press F6, and try again.

    "Premature optimization is the root of all evil." - Knuth

    If I provoked thought, please click the green arrow

    If I provoked Aha! please click Propose as Answer


    Wednesday, November 21, 2012 11:58 PM
  • Hi Pieter! Thank you for your reply! Its weird because there are no errors and it runs just fine. It's just went I do try to type in the labels I created in form3 to the button in Form2 they wont even come up. Is there another way I can transfer textboxes or labels from different forms? I'll keep trying! Thank you!
    • Edited by cmptr75 Thursday, November 22, 2012 1:56 AM
    Thursday, November 22, 2012 1:51 AM
  • Make the controls you want to export public.

    "Premature optimization is the root of all evil." - Knuth

    If I provoked thought, please click the green arrow

    If I provoked Aha! please click Propose as Answer

    Thursday, November 22, 2012 2:34 AM