Page 1 of 1

TZUpdateSql missing editor

Posted: 07.01.2009, 09:34
by louis
Hallo,
Scenario: zeosDBO 6.6.4
Delphi 5 Prof.

The editor is missing in TZUpdateSql, why?

If I try to double click on component, the editor do not open!

What i wrong during installation?

Thanks

Luigi

Posted: 07.01.2009, 11:19
by mdaems
If you have a look at ZComponentReg.pas you'll see these lines :

Code: Select all

{$IFDEF FPC}
  RegisterComponentEditor(TZUpdateSQL, TZUpdateSQLEditor);
{$ELSE}
  {$IFNDEF VER130BELOW}
    {$IFNDEF UNIX}
  RegisterComponentEditor(TZUpdateSQL, TZUpdateSQLEditor);
    {$ENDIF}
  {$ENDIF}
{$ENDIF}
{$ENDIF}

This means somebody explicitly commented it out for the older Delphi versions. (Delphi5 and bellow)
No idea why, but I assume there's a good reason for that.

Mark