We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6897dda commit cf20817Copy full SHA for cf20817
1 file changed
udatamodule.pas
@@ -31,6 +31,7 @@ TdmPgEngine = class(TDataModule)
31
procedure Connect;
32
procedure Disconnect;
33
function IsCronValueValid(const S: string): boolean;
34
+ function IsConnected: boolean;
35
end;
36
37
var
@@ -141,5 +142,10 @@ function TdmPgEngine.IsCronValueValid(const S: string): boolean;
141
142
143
144
145
+function TdmPgEngine.IsConnected: boolean;
146
+begin
147
+ Result := qryChains.Active and qryTasks.Active;
148
+end;
149
+
150
151
end.
0 commit comments