2011/10/4 Martin <[email protected]>
>
> Only I needed the variable in MainIdeIntf, as some units, which needed it,
> were themself already used by MainIdeBase
> So I changed the variable in MainIdeBase to be a property (property outside
> of class declaration). That way it was easy to move it to another class, yet
> all code could still access it as wanted (and the property does the type
> cast once and for all.
>

That one looks interesting. I never used global properties myself.

Juha
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to