@@ -506,6 +506,7 @@ type
procedure RangeError(AValue, Min, Max: Double);
procedure SetDisplayFormat(const AValue: string);
procedure SetEditFormat(const AValue: string);
+ function GetAsBoolean: Boolean; override;
public
constructor Create(AOwner: TComponent); override;
published
@@ -86,7 +86,7 @@ begin
if DebugDisabled then exit;
try
If (DebugClient=Nil) then
- InitDebugClient;
+ if InitDebugClient = false then exit;
if (Indent>0) then
Msg.Msg:=StringOfChar(' ',Indent)+Msg.Msg;
WriteMessage(Msg);