Datamodule to Form Messageing ?
Posted on 1999-08-24
I think I need to implement a TMessage somehow but I don't have a clue how to do it. I'm wanting to advertise that a datasource record change has occured from a datamodule, to a none-data-aware TMemo on a form that 'uses' the datamodule so that I can update the memo when the record changes. I don't want to include the form in the datamodules uses clause because that will make portability a bit of a bind.
In summary, broadcasting a message from within the datasource.OnChange with a message handler for that message on a separate form that contains the TMemo. It would be better if I could have used a TDBMemo as a calculated field, but delphi 3 standard wouldn't let me.
I *think* that's clear ??
can anybody give me any clues ? D3 help keeps going on about messages in component classes, and even then the help seems fragmented, which doesn't help me because I'm wanting to use them within the App body.
Thanks in advance