{*******************************************************}
{                                                       }
{         CA SweetControls Component Library            }
{                                                       }
{  Copyright (c) 1996,2004 CodeAccelerate Corporation   }
{                                                       }
{*******************************************************}

{.$DEFINE PROPERTY_EDITORS}

{$IFDEF LINUX}
  {$DEFINE KYLIX_ANY}
  {$DEFINE CLX_ANY}
{$ELSE}
  {$DEFINE MSWINDOWS}
{$ENDIF}

{$IFDEF VER100} { Borland Delphi 2.0 }
  {$DEFINE SC_DELPHI2}
{$ENDIF}

{$IFDEF VER100} { Borland Delphi 3.0 }
  {$DEFINE SC_DELPHI3}
{$ENDIF}

{$IFDEF VER110} { Borland C++Builder 3.0 }
  {$DEFINE SC_CBUILDER3}
  {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER120} { Borland Delphi 4.0 }
  {$DEFINE SC_DELPHI4}
{$ENDIF}

{$IFDEF VER125} { Borland C++Builder 4.0 }
  {$DEFINE SC_CBUILDER3}
  {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER130} { Borland Delphi 5.0 }
  {$DEFINE SC_DELPHI5}
  {$IFDEF BCB}  { Borland C++Builder 5.0 }
    {$DEFINE SC_CBUILDER5}
    {$ObjExportAll On}
  {$ENDIF}
{$ENDIF}


{$IFDEF VER140} { Borland Delphi 6.0 }
  {$DEFINE SC_DELPHI6}
  {$IFDEF BCB}  { Borland C++Builder 6.0 }
    {$DEFINE SC_CBUILDER6}
    {$ObjExportAll On}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER150} { Borland Delphi 7.0 }
  {$DEFINE SC_DELPHI7}
  {$IFDEF BCB}  { Borland C++Builder 7.0 }
    {$DEFINE SC_CBUILDER7}
    {$ObjExportAll On}
  {$ENDIF}
{$ENDIF}

{$IFDEF SC_DELPHI2}
  {$DEFINE SC_DELPHI2_UP}

  {$DEFINE SC_DELPHI7_EARLY}
  {$DEFINE SC_DELPHI6_EARLY}
  {$DEFINE SC_DELPHI5_EARLY}
  {$DEFINE SC_DELPHI4_EARLY}
  {$DEFINE SC_DELPHI3_EARLY}

  {$DEFINE SC_DELPHI7_AND_EARLY}
  {$DEFINE SC_DELPHI6_AND_EARLY}
  {$DEFINE SC_DELPHI5_AND_EARLY}
  {$DEFINE SC_DELPHI4_AND_EARLY}
  {$DEFINE SC_DELPHI3_AND_EARLY}
  {$DEFINE SC_DELPHI2_AND_EARLY}
{$ENDIF}

{$IFDEF SC_DELPHI3}
  {$DEFINE SC_DELPHI3_UP}
  {$DEFINE SC_DELPHI2_UP}

  {$UNDEF SC_DELPHI2}

  {$DEFINE SC_DELPHI7_EARLY}
  {$DEFINE SC_DELPHI6_EARLY}
  {$DEFINE SC_DELPHI5_EARLY}
  {$DEFINE SC_DELPHI4_EARLY}

  {$DEFINE SC_DELPHI7_AND_EARLY}
  {$DEFINE SC_DELPHI6_AND_EARLY}
  {$DEFINE SC_DELPHI5_AND_EARLY}
  {$DEFINE SC_DELPHI4_AND_EARLY}
  {$DEFINE SC_DELPHI3_AND_EARLY}
{$ENDIF}

{$IFDEF SC_DELPHI4}
  {$DEFINE SC_DELPHI4_UP}
  {$DEFINE SC_DELPHI3_UP}
  {$DEFINE SC_DELPHI2_UP}

  {$UNDEF SC_DELPHI3}
  {$UNDEF SC_DELPHI2}

  {$DEFINE SC_DELPHI7_EARLY}
  {$DEFINE SC_DELPHI6_EARLY}
  {$DEFINE SC_DELPHI5_EARLY}

  {$DEFINE SC_DELPHI7_AND_EARLY}
  {$DEFINE SC_DELPHI6_AND_EARLY}
  {$DEFINE SC_DELPHI5_AND_EARLY}
  {$DEFINE SC_DELPHI4_AND_EARLY}
{$ENDIF}

{$IFDEF SC_DELPHI5}
  {$DEFINE SC_DELPHI5_UP}
  {$DEFINE SC_DELPHI4_UP}
  {$DEFINE SC_DELPHI3_UP}
  {$DEFINE SC_DELPHI2_UP}

  {$UNDEF SC_DELPHI4}
  {$UNDEF SC_DELPHI3}
  {$UNDEF SC_DELPHI2}

  {$DEFINE SC_DELPHI7_EARLY}
  {$DEFINE SC_DELPHI6_EARLY}

  {$DEFINE SC_DELPHI7_AND_EARLY}
  {$DEFINE SC_DELPHI6_AND_EARLY}
  {$DEFINE SC_DELPHI5_AND_EARLY}
{$ENDIF}

{$IFDEF SC_DELPHI6}
  {$DEFINE SC_DELPHI6_UP}
  {$DEFINE SC_DELPHI5_UP}
  {$DEFINE SC_DELPHI4_UP}
  {$DEFINE SC_DELPHI3_UP}
  {$DEFINE SC_DELPHI2_UP}

  {$UNDEF SC_DELPHI5}
  {$UNDEF SC_DELPHI4}
  {$UNDEF SC_DELPHI3}
  {$UNDEF SC_DELPHI2}

  {$DEFINE SC_DELPHI7_EARLY}

  {$DEFINE SC_DELPHI7_AND_EARLY}
  {$DEFINE SC_DELPHI6_AND_EARLY}
{$ENDIF}

{$IFDEF SC_DELPHI7}
  {$DEFINE SC_DELPHI7_UP}
  {$DEFINE SC_DELPHI6_UP}
  {$DEFINE SC_DELPHI5_UP}
  {$DEFINE SC_DELPHI4_UP}
  {$DEFINE SC_DELPHI3_UP}
  {$DEFINE SC_DELPHI2_UP}

  {$UNDEF SC_DELPHI6}
  {$UNDEF SC_DELPHI5}
  {$UNDEF SC_DELPHI4}
  {$UNDEF SC_DELPHI3}
  {$UNDEF SC_DELPHI2}

  {$DEFINE SC_DELPHI7_AND_EARLY}
{$ENDIF}

