[Lazarus] Delphi incompatibility - hard cast
parkingspace26 at yahoo.com
Fri Jan 17 23:05:07 CET 2014
In Delphi this will work even if the Sender is not a TdbGrid, as long as it has a DataSource property:
But it won't work in Lazarus if Sender is a different dbAware component., the compiler will complain it's not a dbGrid.
Is there anyway to accomplish this same result in Lazarus, perhaps by using RTTI? Or is there a compiler directive to stop this check?
An example would be great. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus