![]() |
|
#1
|
|||
|
|||
|
From what I have read, I need to open the Datamodule before the Main form to get all the DB connections done first. I need to know if my Database is connected, however the Datamodule does not implement the ShowMessage function. I assume because no form has been created as yet.
Any suggestions on how to get a message displayed ? Delphi 6. |
|
#2
|
|||
|
|||
|
Add Dialogs to the uses list of the datamodule
|
|
#3
|
|||
|
|||
|
Thanks you are a star.
Interesting I have to add Dialogs to the unit and not Messages !!!!. Cheers Wallace |
|
#4
|
|||
|
|||
|
Messages is a unit with all the resourcestrings.
If you do CTRL+Click on the unit in the uses you jump to the unit. See what is in there. And I find dialogs the logic place, since it's a dialog with a message which is shown to you. But that's a different discussion ;-) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|