⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iwplannerde.pas

📁 TMS IntraWEb增强控件TMSIntraWeb_v2.3.2.1_D2007.rar
💻 PAS
字号:
{***************************************************************************}
{ TMS IntraWeb Component Pack Pro                                           }
{ for Delphi & C++Builder                                                   }
{ version 2.2                                                               }
{                                                                           }
{ written by TMS Software                                                   }
{            copyright ?2002 - 2004                                        }
{            Email : info@tmssoftware.com                                   }
{            Web : http://www.tmssoftware.com                               }
{                                                                           }
{ The source code is given as is. The author is not responsible             }
{ for any possible damage done due to the use of this code.                 }
{ The component can be freely used in any application. The complete         }
{ source code remains property of the author and may not be distributed,    }
{ published, given or sold in any form as such. No parts of the source      }
{ code can be included in any other component or application without        }
{ written authorization of the author.                                      }
{***************************************************************************}

unit IWPlannerDE;

{$I TMSDEFS.INC}

interface

uses
  Classes, DB, IWTMSPlan, DesignIntf  , DesignEditors;
//{$IFDEF DELPHI6_LVL}
//  DesignIntf, DesignEditors
//{$ELSE}
//  DsgnIntf
//{$ENDIF}
//  ;

type
  TIWMonthPlannerEditor = class(TDefaultEditor)
  protected
//  {$IFNDEF DELPHI6_LVL}
//    procedure EditProperty(PropertyEditor: TPropertyEditor;
//      var Continue, FreeEditor: Boolean); override;
//  {$ELSE}
    procedure EditProperty(const PropertyEditor: IProperty; var Continue: Boolean); override;
//  {$ENDIF}
  public
  end;




implementation

uses
  SysUtils;

//{$IFDEF DELPHI6_LVL}
procedure TIWMonthPlannerEditor.EditProperty(const PropertyEditor: IProperty; var Continue: Boolean);
//{$ELSE}
//procedure TIWMonthPlannerEditor.EditProperty(PropertyEditor: TPropertyEditor;
//  var Continue, FreeEditor: Boolean);
//{$ENDIF}
var
  PropName: string;
begin
 PropName := PropertyEditor.GetName;
  if (CompareText(PropName, 'EVENTS') = 0) then
  begin
    PropertyEditor.Edit;
   Continue := False;
  end;
end;



end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -