How do I load controls on another form in one form?

Source: Internet
Author: User
How do I load controls on another form in one form? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiBase/html/delphi_20061217012218137.html
How can I load the existing controls of another form on one form?
If form1 has edit1 and you want to load the edit1 of form1 in form2, what should you do? Thank you!

Basic knowledge such as dizzy
Let's use form1 as an example.
For example, to use edit1 of form2
In form1, ALT + F11 ues first form2
Then you canCodeNow
Form2.edit1. Text: = edit1.text;
The edit1.text following is your form1 ~!~~
Try LZ.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.