Am 19.06.2015 10:36 schrieb "aradeonas" <[email protected]>:
>
> Thanks but I cant understand you.
> Problem is for example I have a class that will used for  server and
> client but in client it will do some works with TPicture and in server
> there is no need for these functions and property and without them also
> class will work but I dont know how separate them so just changing a
> package do the job.

In that case you should use inheritance. Have a class which does the common
part which resides in a shared package. The client package then has a class
that extends that shared class with the TPicture related functionality.

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

Reply via email to