Multiple forms in delphi
- by Hendriksen123
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?