TheHelmsman
Programmer
Greetings!
I am start using DataModule to hold all non-visual components separatly from the main form.
Here is my problem:
I have wrote a function at my main form [mainForm] which uses some checkbox states (which are phisycally located on the same form).
Then i have a menu compoonent (non-visual) which is in my data module [dataModule]. When i am going to write a code for the onClick event for some menu item i am going to write it inside the data module. Now, how can i call the function whis is in my main form [mainForm] from the data module [dataModule]???
Every time i get the error on the compilation stage.
Sincerely The Helmsman.
I am start using DataModule to hold all non-visual components separatly from the main form.
Here is my problem:
I have wrote a function at my main form [mainForm] which uses some checkbox states (which are phisycally located on the same form).
Then i have a menu compoonent (non-visual) which is in my data module [dataModule]. When i am going to write a code for the onClick event for some menu item i am going to write it inside the data module. Now, how can i call the function whis is in my main form [mainForm] from the data module [dataModule]???
Every time i get the error on the compilation stage.
Sincerely The Helmsman.