datamodule Questions
5
Solved
Most of the units I work on rely on a Data Module. One of the most annoying things I come accross is an error message telling me
Module X references another module and cannot be saved until Mod...
Upside asked 10/3, 2010 at 10:34
2
Solved
I need to send a windows message to a TDataModule in my Delphi 2010 app.
I would like to use
PostMessage(???.Handle, UM_LOG_ON_OFF, 0,0);
Question:
The TDataModule does not have a Handle. How can ...
Gosney asked 23/8, 2010 at 20:34
1
Solved
I suddenly noticed a TDataModuleTestExchange(nil) 'constructor call' in our codebase:
procedure TDialoogConfigExchange.ButtonTestClick(Sender: TObject);
var
lDataModuleTestExchange: TDataModuleTe...
Charron asked 12/8, 2014 at 14:23
5
Solved
Some database application developers prefer to create a data module before main form by editing the project source file like this
begin
Application.Initialize;
Application.MainFormOnTaskba...
Erhart asked 14/1, 2010 at 15:34
2
Solved
In prior versions of Delphi, I have used the data module (TDataModule) as a place to keep non-visual components to avoid cluttering up the main form. In Delphi XE2, when I create a new data module,...
Garland asked 31/12, 2012 at 3:55
1
Solved
I tried to copy and paste a component from one data module into another in Delphi XE2. The component was a Fast Report data source link component. The data module was brand new, just created that s...
Imidazole asked 28/6, 2012 at 17:37
4
Solved
I am using Delphi6 and have a data module with an ADO DataSet which is used by two forms, formA and FormB. Each form has a Dataset.Open() in OnCreate and Dataset.Close() in OnClose. If both forms a...
Marvin asked 20/7, 2011 at 10:53
4
Solved
I am looking for some advice about structuring Delphi programs for maintainability. I've come to Delphi programming after a couple of decades of mostly C/C++ though I first learned to program with ...
Schlosser asked 11/2, 2011 at 18:16
2
Solved
I am trying to define the best way to refactor the project I am working on.
Due to lack of good design almost all project is made up of:
1) forms containing business logic
2) huge datamodules (1...
Inimical asked 29/10, 2010 at 12:24
3
Solved
I wonder how difficult it would be to be able to have a custom background or be able to draw on the datamodule canvas somehow so that the relationships of all the datasets can be nicely represented...
Bakken asked 29/6, 2009 at 3:40
3
Solved
In Delphi 2009 I have a Form with a procedure MyProcedure that writes to a label on the Form. The form uses a DataModule with a ClientDataSet. When the AfterScroll event of the ClientDataSet is fir...
Sobel asked 25/5, 2009 at 14:2
7
Solved
I run into this regularly, and am just looking for best practice/approach. I have a database / datamodule-containing app, and want to fire up the database/datasets on startup w/o having "active at ...
Coughlin asked 19/12, 2008 at 23:13
3
If all the business logic is present in a datamodule (TSQLDataSets and TDataSetProviders) how would you refactor the code to make the application more appropiate for unit testing?
Gill asked 23/1, 2009 at 13:50
1
© 2022 - 2024 — McMap. All rights reserved.