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

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

?? wwprpedt.pas

?? 勝天進(jìn)銷存源碼,國(guó)產(chǎn)優(yōu)秀的進(jìn)銷存
?? PAS
?? 第 1 頁 / 共 3 頁
字號(hào):
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
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日产精品久久久久久久性色| 国产在线精品一区二区夜色 | 老司机免费视频一区二区三区| 亚洲成人综合网站| 日日欢夜夜爽一区| 美女视频一区二区三区| 激情六月婷婷综合| 成人福利视频网站| 欧美日韩一区二区在线观看视频 | 色欧美日韩亚洲| 日韩一级高清毛片| 国产精品美女www爽爽爽| 一区二区在线观看视频在线观看| 亚洲国产va精品久久久不卡综合| 日韩电影免费在线看| 国产乱码精品一区二区三区忘忧草| 国产一区三区三区| 色综合久久久久网| 久久久久久麻豆| 亚洲精品视频在线观看免费| 免费日韩伦理电影| 一本一道久久a久久精品| 日韩女优av电影| 亚洲乱码国产乱码精品精可以看| 视频一区二区不卡| 91网站在线播放| 久久久亚洲综合| 日本不卡一区二区三区高清视频| 成人综合婷婷国产精品久久蜜臀 | 蜜桃视频一区二区三区| 成人av电影在线播放| 欧美成人免费网站| 爽爽淫人综合网网站| 色94色欧美sute亚洲线路一ni| 精品久久久久久久久久久院品网| 一区二区成人在线| 波多野结衣亚洲一区| 久久精品亚洲麻豆av一区二区| 香蕉成人伊视频在线观看| 色哟哟欧美精品| 一个色综合网站| 91成人在线精品| 亚洲欧美另类久久久精品| 国产精品资源在线看| 久久综合久久鬼色中文字| 久久电影网电视剧免费观看| 日韩一区二区精品| 麻豆精品国产传媒mv男同| 日韩欧美国产麻豆| 国产一区二区三区高清播放| 精品对白一区国产伦| 国模冰冰炮一区二区| 久久久久国产精品人| 成人av动漫在线| 一区二区三区高清不卡| 精品视频一区二区不卡| 日韩激情一二三区| 2022国产精品视频| 成人一区二区三区视频在线观看| 亚洲国产高清在线| 在线观看免费亚洲| 麻豆精品一区二区| 国产精品超碰97尤物18| 91麻豆成人久久精品二区三区| 亚洲精品中文在线观看| 欧美一级搡bbbb搡bbbb| 国产成人av网站| 一区二区免费在线播放| 久久久久久久久一| 夜夜揉揉日日人人青青一国产精品| 国产成人一级电影| 夜夜嗨av一区二区三区四季av| 69精品人人人人| 成人av综合在线| 麻豆国产一区二区| 亚洲国产精品尤物yw在线观看| 精品国产91洋老外米糕| 色久综合一二码| 国产乱妇无码大片在线观看| 亚洲午夜私人影院| 国产精品网站一区| 884aa四虎影成人精品一区| 丁香五精品蜜臀久久久久99网站| 午夜精品在线看| 成人欧美一区二区三区1314| 日韩一区二区精品在线观看| 成人黄页在线观看| 国产美女在线精品| 喷白浆一区二区| 日韩专区中文字幕一区二区| 亚洲特黄一级片| 国产欧美精品一区aⅴ影院 | 日韩无一区二区| 在线视频国产一区| 97se狠狠狠综合亚洲狠狠| 韩国中文字幕2020精品| 精品影院一区二区久久久| 亚洲h精品动漫在线观看| 一区二区高清视频在线观看| 国产精品成人在线观看| 中文字幕二三区不卡| 日本一区二区三区电影| 国产日韩成人精品| 亚洲欧洲无码一区二区三区| 国产精品美女久久久久久久久久久| 国产精品美日韩| 国产suv一区二区三区88区| 国产网站一区二区三区| 国产精品亚洲第一区在线暖暖韩国| 精品国产一区二区三区av性色| 日本精品裸体写真集在线观看| 精品无人区卡一卡二卡三乱码免费卡| 亚洲精品少妇30p| 亚洲精品videosex极品| 亚洲在线视频网站| 丝袜美腿高跟呻吟高潮一区| 日韩成人精品在线观看| 精品一区免费av| 91在线观看地址| 欧美一区二区三区爱爱| 久久久久久久久久久黄色| 国产精品伦理在线| 三级欧美在线一区| 丁香婷婷综合五月| 欧美美女喷水视频| 亚洲国产高清不卡| 日韩va欧美va亚洲va久久| 国产高清成人在线| 欧美日韩成人综合在线一区二区| 欧美成人午夜电影| 亚洲欧美国产毛片在线| 九九精品一区二区| 在线一区二区视频| 国产欧美综合在线观看第十页| 亚洲综合网站在线观看| 大桥未久av一区二区三区中文| 91精彩视频在线观看| 国产日产欧美精品一区二区三区| 视频一区二区三区中文字幕| 91一区二区在线观看| 精品乱码亚洲一区二区不卡| 一区二区三区精品在线| 国产不卡在线一区| 91精品免费观看| 亚洲福利电影网| 91久久精品国产91性色tv| 国产精品天天摸av网| 精品无人码麻豆乱码1区2区 | 日韩一级高清毛片| 午夜国产精品一区| 欧美日韩一区二区不卡| 一区二区三区不卡视频在线观看| 国产传媒一区在线| 久久久不卡影院| 国产成人在线免费| 欧美精品一区二区三区一线天视频| 蜜桃精品在线观看| 91精品国产福利在线观看 | 制服丝袜av成人在线看| 天天亚洲美女在线视频| 欧美丰满美乳xxx高潮www| 亚洲一区二区三区四区在线观看 | 欧美日韩一区三区四区| 天堂成人国产精品一区| 日韩一区二区在线观看视频 | 日本福利一区二区| 亚洲综合视频网| 日韩欧美区一区二| 国产xxx精品视频大全| 中文字幕一区二区三区色视频| 91色porny蝌蚪| 日本成人在线视频网站| 国产亚洲一区二区三区四区| 99久免费精品视频在线观看| 亚洲亚洲精品在线观看| 精品国产百合女同互慰| 不卡一区在线观看| 亚洲va中文字幕| 国产精品全国免费观看高清| 欧美日韩高清在线播放| 激情综合一区二区三区| 亚洲精品免费在线观看| 欧美一级黄色录像| 91在线视频播放地址| 精品一区二区三区免费观看| 国产精品不卡在线| 久久免费精品国产久精品久久久久 | 午夜精品久久久久久久99水蜜桃 | 成人99免费视频| 久久se这里有精品| 香蕉加勒比综合久久| 国产亚洲欧美日韩在线一区| 91精品国模一区二区三区| eeuss国产一区二区三区| 狠狠久久亚洲欧美| 日本欧美一区二区| 亚洲第一二三四区| 亚洲老妇xxxxxx| 亚洲女女做受ⅹxx高潮| 中文字幕乱码久久午夜不卡|