On Thu, 9 Nov 2006, Bisma Jayadi wrote:
> Hi...
>
> I saw three icons of TmySQLConnection component on Lazarus component palette,
> they are for mySQL v.4.0, v.4.1, and v.5.0. Can't they just be wrapped into a
> single component and supply the corresponding version through connection
> parameter? This way will make our code life easier to connect to any version
> of mySQL database.
>
> Is it possible?
It is, but:
1. It will take some additional work.
2. It will make your application bigger, because the code for all 3 connections
will be included in your application.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives