Re: Oh... The non-visual components are in my form....as before...
From: damian marquez (dmarquez34_at_hotmail.com)
Date: 11/28/04
- Next message: Octavio Hernandez: "Re: Delphi 2005 internationalization and localization features"
- Previous message: damian marquez: "Re: Oh... The non-visual components are in my form....as before..."
- In reply to: Nick Hodges [TeamB]: "Re: Oh... The non-visual components are in my form....as before..."
- Next in thread: Marian Munteanu: "Re: Oh... The non-visual components are in my form....as before..."
- Reply: Marian Munteanu: "Re: Oh... The non-visual components are in my form....as before..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Nov 2004 19:56:16 -0300
Nick Hodges [TeamB] <nickhodges@gmail.com> wrote:
> Jarle Stabell wrote:
>
>> What if you need to create multiple instances of a form, where each
>> instance needs to have its own (separate) set of instances of the
>> non-visual components?
>
> Create a separate instance of the datamodule for each form.
When you told me about it, this was the greatest trick of all really and I
use it a lot.
For me it's the tip#1 for database programming in Delphi and many still
don't know it...
A little coding only is required and you can still use design time stuff
like having a
lookup combo linked to the dataset etc. Very nice.
Thanks Nick.
P.S: I am even thinking that to prove a point, my next db application will
start by
designing the datamodules...
-- Have you seen Marillion's Marbles? Visit www.marillion.com and get in touch with the most amazing music...
- Next message: Octavio Hernandez: "Re: Delphi 2005 internationalization and localization features"
- Previous message: damian marquez: "Re: Oh... The non-visual components are in my form....as before..."
- In reply to: Nick Hodges [TeamB]: "Re: Oh... The non-visual components are in my form....as before..."
- Next in thread: Marian Munteanu: "Re: Oh... The non-visual components are in my form....as before..."
- Reply: Marian Munteanu: "Re: Oh... The non-visual components are in my form....as before..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|