traceform was not so well hidden :)
This commit is contained in:
parent
dd8c388f5f
commit
d644e38ff8
@ -290,15 +290,19 @@ object MainForm: TMainForm
|
|||||||
Left = 571
|
Left = 571
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 8
|
Width = 8
|
||||||
|
Enabled = False
|
||||||
ImageIndex = 39
|
ImageIndex = 39
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
|
Visible = False
|
||||||
end
|
end
|
||||||
object tbShowTrace: TToolButton
|
object tbShowTrace: TToolButton
|
||||||
Left = 579
|
Left = 579
|
||||||
Top = 0
|
Top = 0
|
||||||
Hint = 'Show trace window'
|
Hint = 'Show trace window'
|
||||||
Caption = 'tbShowTrace'
|
Caption = 'tbShowTrace'
|
||||||
|
Enabled = False
|
||||||
ImageIndex = 38
|
ImageIndex = 38
|
||||||
|
Visible = False
|
||||||
OnClick = tbShowTraceClick
|
OnClick = tbShowTraceClick
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -95,12 +95,18 @@ begin
|
|||||||
TraceLevel := Registry.ReadInteger('TraceLevel')
|
TraceLevel := Registry.ReadInteger('TraceLevel')
|
||||||
else
|
else
|
||||||
TraceLevel := 0;
|
TraceLevel := 0;
|
||||||
|
MainForm.tbShowTrace.Visible := true;
|
||||||
|
MainForm.tbShowTrace.Enabled := true;
|
||||||
|
MainForm.tbTraceSeparator.Visible := true;
|
||||||
|
MainForm.tbTraceSeparator.Enabled := true;
|
||||||
|
|
||||||
{$else} // Tracer disabled in release version
|
{$else} // Tracer disabled in release version
|
||||||
|
|
||||||
TraceLevel := 0;
|
TraceLevel := 0;
|
||||||
MainForm.tbShowTrace.Visible := false;
|
MainForm.tbShowTrace.Visible := false;
|
||||||
|
MainForm.tbShowTrace.Enabled := false;
|
||||||
MainForm.tbTraceSeparator.Visible := false;
|
MainForm.tbTraceSeparator.Visible := false;
|
||||||
|
MainForm.tbTraceSeparator.Enabled := false;
|
||||||
|
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user