Good day! Can you please tell me who knows if it is possible to make the components of one form available in another?

    3 answers 3

    Yes you can. In the form in which you need access Click "File-> Use unit" and select the desired form. After that, the component will be available as <Form name>. <Instance name>.

      And the module announced? Uses Form2;

        Indeed, you need to declare Uses unit2, if the form is created automatically via the new form command, the global variable Form2 is automatically created in the unit2 module and you can access the components of this form, for example, so Form2.Button1