Le 16/09/2013 11:12, Mattias Gaertner a écrit :
On Mon, 16 Sep 2013 10:52:08 +0200
Antonio Fortuny <a.fort...@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
Could be but I'm currently using 1.0.12 and not 1.2.
I'm moving and re-engineering a Delphi application and I wonder how much time I'll loose recoding the Datasources properties :-(

Mattias

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to