Delphi : What is the best way for passing data between forms?

Posted by Flom Enol on Stack Overflow See other posts from Stack Overflow or by Flom Enol
Published on 2010-06-02T08:48:16Z Indexed on 2010/06/02 9:43 UTC
Read the original article Hit count: 147

Filed under:
|

It may seem a little newbie, but I really have got problem with it. I have a form (not the main one)for getting many different data form the user and I want to pass it to a manager class for creating an object with these. The problem is that I can't have this class to use the other unit (getting circle uses) and also it doesn't have access to the manager class instance (which is in main form).

So, what shall I do? I've already considered using public variable but I have a bad feeling about it (regarding OOD patterns).

Any ideas?

thanks in advance.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about forms