Subject | TIB_MonitorDialog improvements |
---|---|
Author | Ed Dressel |
Post date | 2003-10-10T18:49:38Z |
I like the IB_MonitorDialog, but it would be nice if:
1) It could keep a log file even when it is not visible. For many of
my users, the 'On' button of the computer requires a manual, and so I
have automated exceptions so that I get a lot of information when
they are generated.
2) Could be hidden once it's visible. I did this:
function TfrmTRAKMaster.GetDBLogComp: TComponent;
var
I: Integer;
begin
for I := 0 to IB_MonitorDialog1.ComponentCount - 1 do // Iterate
if IB_MonitorDialog1.Components[I] is TfrmBase then
begin
result := IB_MonitorDialog1.Components[I];
exit;
end;
result := nil;
end;
and then free the result of GetDBLogComp if it assigned.
3) Would also like to be able to get the text of the log inside my
application.
Ed Dressel
1) It could keep a log file even when it is not visible. For many of
my users, the 'On' button of the computer requires a manual, and so I
have automated exceptions so that I get a lot of information when
they are generated.
2) Could be hidden once it's visible. I did this:
function TfrmTRAKMaster.GetDBLogComp: TComponent;
var
I: Integer;
begin
for I := 0 to IB_MonitorDialog1.ComponentCount - 1 do // Iterate
if IB_MonitorDialog1.Components[I] is TfrmBase then
begin
result := IB_MonitorDialog1.Components[I];
exit;
end;
result := nil;
end;
and then free the result of GetDBLogComp if it assigned.
3) Would also like to be able to get the text of the log inside my
application.
Ed Dressel