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.
Antonio.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus