I have a form FormX that I want to use in a number of projects.
In, say, Project A I have a form FormA with a label and caption.
When a change is made to some list or variable on FormX I want to modify the
FormA.label.caption
I don't want to do this by writing FormA.label.caption := 'Foo'; in my FormX
unit
because that won't work when I want to do a similar thing from FormX to
FormB in ProjectB.
I know that being able to do this is the benefit of OO but I'm stuck in my
procedural mindset.
I can make the value I change a property of FormX - but how does FormA or
FormB know the property has changed?
I'm sure it's simple - just can't see it.
Ideas please.
TIA
Mike
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"