1 Replies - 1584 Views - Last Post: 12 December 2013 - 12:39 AM Rate Topic: -----

#1 benpal95  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 20-October 13

How To Get The Input In Textbox From One Form To Another Form?

Posted 24 October 2013 - 01:07 AM

How To Get The Input In Textbox From One Form To Another Form?
Hi. All.
I have a question that
how to let the text in from one's text box automatically copied into form two's label?
Using class module?
Is This A Good Question/Topic? 0
  • +

Replies To: How To Get The Input In Textbox From One Form To Another Form?

#2 nikhilgup  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 08-November 13

Re: How To Get The Input In Textbox From One Form To Another Form?

Posted 12 December 2013 - 12:39 AM

Hi,

I am not sure if I have fully understood the question but if I am on right track then you can try:

label1.caption=form1.textbox1.text




This can be done on some button click before unloading the form1 or on form2 load event before unloading the form1.

you can first use form1.hide and copy the text to new form and once the label is copied to form2 you can unload the form using

Unload form1



Hope this helps!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1