[Lazarus] DB aware components
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Sep 16 11:12:31 CEST 2013
On Mon, 16 Sep 2013 10:52:08 +0200
Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:
> Hi Folks.
>
> Is it normal that when a TDBGrid is dropped onto a TFrame (or
> descendant) the DataSource property cannot be assigned to a TSqlQuery
> dropped onto a TDataModule ? In other words, in the properties
> inspectior of the TDBGrid, the Datasource property shows nothing.
> The TDataModule is in the uses clause of the TFrame Interface.
> Otherwise when the TDbGrid is doppĂȘd onto a TForm, the DataSource shows
> all TDataset descendants dropped into the TDataModule. It appears to be
> the same for all data aware components that I have tested so far.
> Finally, assigning the datasource at runtime appears to work. But this
> is a workaround.
Maybe a result of Juha's change:
http://wiki.freepascal.org/Lazarus_1.2.0_release_notes#TComponentPropertyEditor_behavior_was_changed
Mattias
More information about the Lazarus
mailing list