frxdaceditor.pas

来自「Crlab公司用来连接MySQL数据库的控件」· PAS 代码 · 共 51 行

PAS
51
字号

{******************************************}
{                                          }
{             FastReport v4.0              }
{      DAC components design editors       }
{                                          }

// Created by: Devart
// E-mail: support@devart.com

{                                          }
{******************************************}

unit frxDACEditor;

interface

{$I frx.inc}

uses
  Windows, Classes, SysUtils, Forms, Dialogs, frxDACComponents, frxCustomDB,
  frxDsgnIntf, frxRes
{$IFDEF Delphi6}
, Variants
{$ENDIF};


type
  TfrxTableNameProperty = class(TfrxStringProperty)
  public
    function GetAttributes: TfrxPropertyAttributes; override;
    procedure SetValue(const Value: String); override;
  end;

implementation

{ TfrxTableNameProperty }

function TfrxTableNameProperty.GetAttributes: TfrxPropertyAttributes;
begin
  Result := [paMultiSelect, paValueList, paSortList];
end;

procedure TfrxTableNameProperty.SetValue(const Value: String);
begin
  inherited;
  Designer.UpdateDataTree;
end;

end.

⌨️ 快捷键说明

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