Recent

Author Topic: access to datamodule from component in a form  (Read 6821 times)

jolode

  • Newbie
  • Posts: 4
access to datamodule from component in a form
« on: February 16, 2008, 09:48:23 pm »
Hello!!!
I can't to access to datamodule1( for example tdatasource1,ttable1, etc) from
a components in form1 .

For example:
I have a form1 with a dbgrid1, when i select datasource on dbgrid1, only i can see ( NONE), and i can't see datamodule1.datasource...

How can i do???? do you know ???


Thank you and excuse by my english...

DonaldShimoda

  • Full Member
  • ***
  • Posts: 109
    • Parallel Pascal Worlds
RE: access to datamodule from component in a form
« Reply #1 on: March 24, 2008, 02:14:52 pm »
The same problem here, im a newbie on lazarus. Maybe im just trying to do things like used to in delphi? :P

Paul Ishenin

  • Sr. Member
  • ****
  • Posts: 274
RE: access to datamodule from component in a form
« Reply #2 on: March 26, 2008, 04:51:44 am »
This feature is not implemented at moment.

cybervoigt

  • Newbie
  • Posts: 4
RE: access to datamodule from component in a form
« Reply #3 on: July 28, 2008, 02:08:00 pm »
Hi guys,

I missed this feature too, i think it´s an important feature, and it´s one of that made Borland Delphi so famous and popular (productive too).

I´m working now on the auto creation of the Data Controls based on the fields on the Fields Editor.

After it´s done, I will find how to implement this option, for example, a DataSource on a Form access (in Design time) a DataSet component on a DataModule (maybe creating a Property Editor for the TDataSource.DataSet property).

 

TinyPortal © 2005-2018