[Lazarus] Is this bug ? or how to do?

FreeMan freeman35 at delphiturkiye.com
Sun Mar 2 12:34:44 CET 2014


I tested, one word, PERFECT
Thank you Mattias

01-03-2014 18:24 tarihinde, Mattias Gaertner yazdı:
> TFieldProperty.FillValues is virtual and has only two lines of code.
> The default implementation searches a property named 'DataSource'.
> You can override it to fetch DataSource from many different sources:
> For example from any property with type TDataSource, or depending on the
> selection or from the form or whatever ...
>
> I made the formerly hidden function LoadDataSourceFields public as
> ListDataSourceFields, so you can implement any of the above easily.
> Including using another property name than 'DataSource'.
>
> Mattias
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list