Multiple forms in delphi

Posted by Hendriksen123 on Stack Overflow See other posts from Stack Overflow or by Hendriksen123
Published on 2010-03-18T16:09:55Z Indexed on 2010/03/18 20:31 UTC
Read the original article Hit count: 358

Filed under:
|
|
|

In my Delphi Project i want to have a 'Settings' button that when clicked, opens a second form (i think this is the correct term, i essentially want a new window to open) for settings.

When the user has finished changing the settings on this new form, i want the form to close on a button click.

The settings the user types in will also need to be accessible to the first, 'main' form.

So, for example, if my programme consisted of a main form, that calculated 'A' + 'B' (A and B being integer variables), with the settings form allowing the user to set values for A and B, how would i do this?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about delphi-7