亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? wwprpedt.pas

?? 勝天進(jìn)銷存源碼,國產(chǎn)優(yōu)秀的進(jìn)銷存
?? PAS
?? 第 1 頁 / 共 3 頁
字號:
unit Wwprpedt;
{
//
// Components : Property Editors
//
// Copyright (c) 1995-2001 by Woll2Woll Software
//
// 3/5/98 - GetComponentData work generically with TDataSet
// 12/1/98 - Check if grid.datasource.dataset is nil
// 11/19/99 - Fix bug in not updating maplist property
}
interface

{$i wwIfDef.pas}

Uses controls, dialogs, wwDBLook, classes, db, wwTable, wwDBGrid,wwdbigrd,
     wwCommon, wwidlg, dbtables, sysutils, wwselfld, wwstr, wwQuery, wwQBE,
     stdctrls, wwdatainspector, ipabout, registry, wwrgxed2,
     wwricheditbar,
       {$ifdef wwdelphi6up}
       designintf, designeditors,
       {$else}
       dsgnintf,
       {$endif}

{$ifdef win32}
     comctrls, wwrich, wwriched,
{$else}
     LibMain,
{$endif}
     wwlocate, wwfltfld, wwfltdlg, wwrcdvw, wwrcdpnl, buttons, wwintl;


Type

  TwwComponentEditor = class(TDefaultEditor)
  private
    procedure ShowAboutBox;
  public
    function GetVerbCount: Integer; override;
    function GetVerb(Index: Integer): string; override;
    procedure ExecuteVerb(Index: Integer); override;
  end;

  TwwGridComponentEditor = class(TwwComponentEditor)
  private
    function SupportIniSave: boolean;
  public
    function GetVerbCount: Integer; override;
    function GetVerb(Index: Integer): string; override;
    procedure ExecuteVerb(Index: Integer); override;
  end;

  TwwIndexDefsProperty = class(TStringProperty)
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwControllerListProperty = class(TStringProperty)
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwTableProperty = class(TComponentProperty)
     procedure GetValues(Proc : TGetStrProc); override;
  end;

  TwwIndexFieldProperty = class(TStringProperty)
     function GetAttributes: TPropertyAttributes; override;
     procedure GetValues(Proc : TGetStrProc); override;
  end;

  TwwSearchFieldProperty = class(TStringProperty)
     function GetAttributes: TPropertyAttributes; override;
     procedure GetValues(Proc : TGetStrProc); override;
  end;

  TwwDBLookupDisplayProperty = class(TPropertyEditor)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwTableDisplayProperty = class(TPropertyEditor)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwDBLookupDisplayComponentEditor = class(TwwComponentEditor)
     procedure Edit; override;
  end;

  TSelectedFieldsProperty = class(TPropertyEditor)
    procedure Edit; override;
    function GetAttributes: TPropertyAttributes; override;
    function GetValue: string; override;
  end;

  TwwDBGridComponentEditor = class(TwwGridComponentEditor)
    procedure Edit; override;
  end;

  TwwRecordViewPanelComponentEditor = class(TwwComponentEditor)
    procedure Edit; override;
  end;

  TwwFilterFieldsProperty = class(TPropertyEditor)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwComboItemsProperty = class(TPropertyEditor)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwObjPictureProperty = class(TClassProperty)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;


  TwwMultiLineStringProperty = class(TClassProperty)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
     procedure SetValue(const value: string); override;
  end;

  TwwPictureProperty = class(TClassProperty)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwPicturePropertyGen = class(TClassProperty)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwRegexProperty = class(TClassProperty)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwRecordViewComponentEditor = class(TwwComponentEditor)
    procedure Edit; override;
  end;

{  TwwDataInspectorComponentEditor = class(TDefaultEditor)
    procedure Edit; override;
  end;
}
  TwwGridIndicatorProperty = class(TPropertyEditor)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

{$ifdef win32}
  TwwRichEditItemsProperty = class(TPropertyEditor)
     procedure Edit; override;
     function GetAttributes: TPropertyAttributes; override;
     function GetValue: string; override;
  end;

  TwwRichEditComponentEditor = class(TwwComponentEditor)
     procedure Edit; override;
  end;

  TwwRichEditBarComponentEditor = class(TwwComponentEditor)
     procedure Edit; override;
  end;

{$endif}

function EditSelectedFieldsProperty(AComponent: TComponent;
        listHandle: TStrings; dataSet: TDataSet;
        designer:
        {$ifdef wwDelphi6Up}
        IDesigner;
        {$else}
          {$ifdef wwDelphi4Up}
          IFormDesigner;
          {$else}
          TFormDesigner;
          {$endif}
        {$endif}
        readFromTableComponent: Boolean;
        var useTFields: boolean; propertyType: TwwSelectedPropertyType): boolean;

procedure Register;


implementation

uses wwdbcomb, wwprpcom, wwdbedit, wwprppic, wwpiced2,
     forms, wwstorep, typinfo;

{type SmallString = string[64];}

procedure GetComponentData(AComponent: TComponent;
            var ASelected: TStrings; var ADataSet: TDataSet);
begin
    if AComponent is TwwDBLookupList then begin
       ASelected:= (AComponent as TwwDBLookupList).Selected;
       ADataSet:= (AComponent as TwwDBLookupList).LookupTable;
    end
    else if AComponent is TwwDBCustomLookupCombo then begin
       ASelected:= (AComponent as TwwDBCustomLookupCombo).Selected;
       ADataSet:= (AComponent as TwwDBCustomLookupCombo).LookupTable;
    end
    else if AComponent is TwwLookupDialog then begin
       ASelected:= (AComponent as TwwLookupDialog).Selected;
       ADataSet:= (AComponent as TwwLookupDialog).LookupTable;
    end
    else if AComponent is TwwSearchDialog then begin
       ASelected:= (AComponent as TwwSearchDialog).Selected;
       ADataSet:= (AComponent as TwwSearchDialog).ShadowSearchTable;
    end
    else if AComponent is TwwRecordViewDialog then begin {5/2/97}
       ASelected:= (AComponent as TwwRecordViewDialog).Selected;
       if (AComponent as TwwRecordViewDialog).DataSource<>nil then
          ADataSet:= (AComponent as TwwRecordViewDialog).DataSource.Dataset
       else ADataSet:= nil;
    end
    else if AComponent is TwwRecordViewPanel then begin {5/2/97}
       ASelected:= (AComponent as TwwRecordViewPanel).Selected;
       if (AComponent as TwwRecordViewPanel).DataSource<>nil then
          ADataSet:= (AComponent as TwwRecordViewPanel).DataSource.Dataset
       else ADataSet:= nil;
    end
{    else if AComponent is TwwDataInspector then begin
       ASelected:= (AComponent as TwwDataInspector).Selected;
       if (AComponent as TwwDataInspector).DataSource<>nil then
          ADataSet:= (AComponent as TwwDataInspector).DataSource.Dataset
       else ADataSet:= nil;
    end}
    else ADataset:= AComponent as TDataset;
{
    if AComponent is TwwTable then begin
       ADataSet:= AComponent as TwwTable
    end
    else if AComponent is TwwQuery then begin
       ADataSet:= AComponent as TwwQuery
    end
    else if AComponent is TwwQBE then begin
       ADataSet:= AComponent as TwwQBE
    end
    else if AComponent is TwwStoredProc then begin
       ADataSet:= AComponent as TwwStoredProc
    end
}
end;


{*** Property editors ***}
Function TwwGridIndicatorProperty.GetValue: string;
begin
   result:= '<TSpeedButton>'
end;

function TwwGridIndicatorProperty.GetAttributes: TPropertyAttributes;
begin
   result:= [paDialog];
end;

procedure TwwGridIndicatorProperty.Edit;
var grid: TwwDBGrid;
begin
   grid:= GetComponent(0) as TwwDBGrid;
   if grid.IndicatorButton=nil then
   begin
      grid.IndicatorButton:= TwwIButton.create(wwGetOwnerForm(grid));
      grid.IndicatorButton.parent:= grid;
      grid.IndicatorButton.name:= grid.name + 'IButton';
      grid.IndicatorButton.width:= 13;
      grid.IndicatorButton.AllowAllUp:=True;
   end;
  {$ifdef win32}
   Designer.SelectComponent(grid.IndicatorButton);
  {$else}
   Complib.GetActiveForm.SetSelection((GetComponent(0) as TwwDBGrid).IndicatorButton.Name);
  {$endif}
end;

function TwwTableDisplayProperty.GetValue: string;
begin
   result:= '<Display>';
end;

function TwwTableDisplayProperty.GetAttributes: TPropertyAttributes;
begin
   result:= [paDialog];
end;

{ Define selected fields property editor for grid }
function EditSelectedFieldsProperty(AComponent: TComponent;
        listHandle: TStrings; dataSet: TDataSet;
        designer:
        {$ifdef wwDelphi6Up}
        IDesigner;
        {$else}
          {$ifdef wwDelphi4Up}
          IFormDesigner;
          {$else}
          TFormDesigner;
          {$endif}
        {$endif}
//         {$ifdef wwDelphi4Up}IFormDesigner{$else}TFormDesigner{$endif};
        readFromTableComponent: Boolean;
        var useTFields: boolean; propertyType: TwwSelectedPropertyType): boolean;
var
  i,j: integer;
  apos: integer;
  SaveList: TStrings;
  ReadOnlyStr, GroupStr: string;
begin
  result:= False;
  if ReadFromTableComponent and (useTFields or (listhandle.count=0)) then begin
       SaveList:= TStringlist.create;
       SaveList.assign(ListHandle);
       ListHandle.clear;
       with dataSet do begin
          if (not Active) and (FieldCount=0) then begin
             MessageDlg('DataSet for this component must be active or have persistent fields to edit design.', mtInformation, [mbok], 0);
             exit;
          end;

          for i:= 0 to fieldCount-1 do begin
             if (fields[i].visible) then begin

                for j:= 0 to SaveList.count-1 do
                begin
                    apos:= 1;
                    ReadOnlyStr:= 'F';
                    GroupStr:= '';
                    if Fields[i].FieldName=strGetToken(SaveList[j], #9, apos) then
                    begin
                        strGetToken(SaveList[j], #9, apos); // display width
                        strGetToken(SaveList[j], #9, apos); // display label
                        ReadOnlyStr:= strGetToken(SaveList[j], #9, apos);
                        GroupStr:= strGetToken(SaveList[j], #9, apos);
                        break;
                    end;
                end;

                if propertyType = sptObjectViewType then
                   ListHandle.add(fields[i].fieldName + #9 +  '0' + #9 +
                              fields[i].displayLabel + #9 + 'F')
                else
                   ListHandle.add(fields[i].fieldName + #9 +
                              inttostr(fields[i].displayWidth) + #9 +
                              fields[i].displayLabel + #9 + ReadOnlyStr + #9 + GroupStr);
             end
          end;
       end;

       SaveList.Free;
   end;

   if wwSelectTableFields(AComponent, dataSet, listHandle, useTFields, Designer, propertyType) then
   begin
      if Designer<>Nil then Designer.modified;
      wwDataModuleChanged(Dataset);
      if (dataSet is TwwTable) then
         if (TwwTable(dataset).query.count=0) then dataSet.refresh;
{               dataset.resync([]);}
      result:= True;
   end
end;


procedure TwwTableDisplayProperty.Edit;
var
   listHandle : TStrings;
   dataSet: TDataSet;
   useTFields: boolean;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
懂色av一区二区在线播放| 99久久精品免费看| 亚洲婷婷在线视频| 日韩精品一区二区三区视频| a级高清视频欧美日韩| 免费三级欧美电影| 亚洲免费在线看| 国产精品三级电影| 精品少妇一区二区三区视频免付费 | 91亚洲精品一区二区乱码| 视频一区中文字幕国产| 综合在线观看色| 2020国产精品自拍| 欧美夫妻性生活| 色综合天天视频在线观看| 国内精品第一页| 人人精品人人爱| 天天av天天翘天天综合网色鬼国产 | 亚洲精品在线观看网站| 欧美午夜不卡视频| 91啪亚洲精品| 丁香桃色午夜亚洲一区二区三区| 捆绑调教美女网站视频一区| 亚洲成av人片在线观看无码| 国产精品进线69影院| 久久久久久久免费视频了| 欧美一级欧美三级| 欧美区在线观看| 欧美人体做爰大胆视频| 欧美亚洲免费在线一区| 色偷偷久久一区二区三区| 成人av在线播放网址| 大尺度一区二区| 盗摄精品av一区二区三区| 国产精品99久久久久久久女警| 久久99久久精品| 精品一区二区成人精品| 美女一区二区三区| 日韩福利电影在线| 日韩和欧美一区二区三区| 肉丝袜脚交视频一区二区| 午夜精品一区在线观看| 亚洲r级在线视频| 偷偷要91色婷婷| 天天爽夜夜爽夜夜爽精品视频| 亚洲va欧美va人人爽午夜| 亚洲成a人v欧美综合天堂下载| 亚洲国产色一区| 日韩av一二三| 国产一区二区在线看| 国产精品自拍av| 成人小视频免费在线观看| bt7086福利一区国产| 在线中文字幕不卡| 欧美日韩精品一区视频| 91精品国产综合久久国产大片| 日韩精品中文字幕一区| 久久精品水蜜桃av综合天堂| 国产精品成人午夜| 亚洲综合一区在线| 日韩高清欧美激情| 国产老肥熟一区二区三区| 成人夜色视频网站在线观看| 一本久道久久综合中文字幕| 欧美三级在线视频| 欧美成人aa大片| 国产精品美女久久久久av爽李琼| 亚洲女同一区二区| 日韩精品午夜视频| 国产美女视频91| 91免费视频观看| 7777女厕盗摄久久久| 久久久久久一二三区| 亚洲欧美经典视频| 美女诱惑一区二区| 99久久久久久| 日韩欧美一区二区不卡| 国产精品国产三级国产有无不卡 | 国产一区二区调教| 97精品国产露脸对白| 欧美伦理视频网站| 国产欧美日韩视频一区二区 | 久久精品国产99国产精品| www.欧美精品一二区| 欧美性猛片aaaaaaa做受| 亚洲精品一区在线观看| 亚洲精品乱码久久久久久日本蜜臀| 热久久一区二区| 91日韩在线专区| 精品福利在线导航| 一区二区高清免费观看影视大全| 国产在线一区二区综合免费视频| 色综合久久天天综合网| 精品国产不卡一区二区三区| 樱桃国产成人精品视频| 国产盗摄视频一区二区三区| 欧美日本一区二区在线观看| 欧美国产国产综合| 日本最新不卡在线| 91麻豆国产福利在线观看| 精品国产精品网麻豆系列| 亚洲综合成人网| 成人av网址在线观看| 精品成人佐山爱一区二区| 亚洲不卡一区二区三区| 成人黄色777网| 精品久久久久久久久久久院品网| 亚洲一区二区精品3399| 99久久免费国产| 国产欧美一区二区精品秋霞影院| 日本午夜一区二区| 欧美综合欧美视频| 中文字幕一区二区三区不卡在线 | 亚洲高清免费视频| 91视频精品在这里| 国产欧美视频在线观看| 麻豆一区二区三| 8x8x8国产精品| 亚洲一卡二卡三卡四卡五卡| 97国产精品videossex| 欧美韩国日本一区| 国产精品一级二级三级| 日韩久久免费av| 久久精品免费观看| 日韩美女视频在线| 蜜桃传媒麻豆第一区在线观看| 欧美嫩在线观看| 午夜精品一区二区三区电影天堂| 色哟哟一区二区三区| 最好看的中文字幕久久| 91麻豆国产福利在线观看| 亚洲欧洲性图库| 91在线观看下载| 亚洲天堂2014| 日本韩国精品在线| 捆绑调教美女网站视频一区| 欧美一级久久久| 理论电影国产精品| 日韩欧美国产三级电影视频| 乱中年女人伦av一区二区| 欧美一级二级三级乱码| 裸体健美xxxx欧美裸体表演| 精品日韩欧美在线| 激情图片小说一区| 国产女人aaa级久久久级| 福利91精品一区二区三区| 国产精品丝袜久久久久久app| 99re成人精品视频| 亚洲乱码精品一二三四区日韩在线 | 从欧美一区二区三区| 国产精品人人做人人爽人人添| 成人免费毛片app| 亚洲老司机在线| 欧美日韩一区二区不卡| 日韩二区在线观看| 久久久综合激的五月天| 成人爽a毛片一区二区免费| 亚洲欧美怡红院| 欧美老肥妇做.爰bbww| 精品午夜久久福利影院| 中文字幕不卡在线播放| 在线观看亚洲一区| 免费一区二区视频| 欧美国产一区视频在线观看| 93久久精品日日躁夜夜躁欧美| 亚洲影院理伦片| 精品少妇一区二区| 91在线精品一区二区| 日韩av电影免费观看高清完整版 | 欧美aaa在线| 中文字幕高清一区| 欧美日韩国产a| 国产成人亚洲综合a∨婷婷图片 | 国产福利电影一区二区三区| 亚洲人成网站影音先锋播放| 在线观看91av| 大胆欧美人体老妇| 日韩和欧美的一区| 国产精品美女久久久久aⅴ| 欧美日韩日本视频| 国产成人精品网址| 亚洲成人一区在线| 欧美国产精品久久| 在线不卡中文字幕播放| 成人深夜视频在线观看| 日日摸夜夜添夜夜添亚洲女人| 国产蜜臀av在线一区二区三区| 在线观看免费视频综合| 国产裸体歌舞团一区二区| 一区二区高清视频在线观看| 久久精品人人做人人爽人人| 欧美男生操女生| 99久精品国产| 精品一区二区三区久久| 一区二区高清视频在线观看| 亚洲国产精品v| 欧美高清一级片在线| 欧美一区二区在线免费观看| 成人在线视频一区二区| 日韩不卡一二三区|