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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? wwprpedt.pas

?? 勝天進銷存源碼,國產優秀的進銷存
?? PAS
?? 第 1 頁 / 共 3 頁
字號:
begin
    GetComponentData(GetComponent(0) as TComponent, listHandle, dataSet);
    listHandle:= TStringList.create;
    if (dataSet=Nil) then begin
       MessageDlg('Missing TableName property', mtInformation, [mbok], 0);
       exit;
    end;

    useTFields:= True;
{    try}
       if (EditSelectedFieldsProperty(GetComponent(0) as TComponent,
          listHandle, DataSet, Designer, True,
          useTFields, sptDataSetType)) then begin
           wwDataSetUpdateFieldProperties(DataSet, listHandle);
       end;
{    finally}
       listHandle.free;
{    end;}
end;

function TwwDBLookupDisplayProperty.GetValue: string;
var
   listHandle : TStrings;
   dataSet: TDataSet;
begin
   GetComponentData(GetComponent(0) as TComponent, listHandle, dataSet);
{   GetComponentData(GetComponent(0), listHandle, dataSet);}
   if listHandle.count>0 then result:= listHandle[0]
   else result := '';
end;

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

procedure TwwDBLookupDisplayProperty.Edit;
var
   listHandle : TStrings;
   dataSet: TDataSet;
   component: TComponent;
   useTFields: boolean;
   SelectedPropertyType: TwwSelectedPropertyType;
begin
    component:= GetComponent(0) as TComponent;
    GetComponentData(GetComponent(0) as TComponent, listHandle, dataSet);
    SelectedPropertyType:= sptNone;
    if GetComponent(0) is TwwCustomLookupDialog then
    begin
       useTFields:= TwwCustomLookupDialog(GetComponent(0)).useTFields;
    end
    else if GetComponent(0) is TwwRecordViewDialog then begin
       useTFields:= False; {TwwRecordViewDialog(GetComponent(0)).useTFields;}
       SelectedPropertyType:= sptRecordViewType;
    end
    else if GetComponent(0) is TwwDataInspector then begin
       SelectedPropertyType:= sptObjectViewType;
       useTFields:= False;
    end
    else if GetComponent(0) is TwwRecordViewPanel then begin
       useTFields:= False;
       SelectedPropertyType:= sptRecordViewType;
    end
    else if GetComponent(0) is TwwDBCustomLookupCombo then begin
       useTFields:= TwwDBCustomLookupCombo(GetComponent(0)).useTFields;
    end;

    if (dataSet=Nil) then begin
       if GetComponent(0) is TwwSearchDialog then begin
          MessageDlg('ShadowSearchTable is required to customize field layout of search dialog.', mtInformation, [mbok], 0);
       end
       else if Component is TwwRecordViewDialog then
          MessageDlg('DataSet required to customize RecordViewDialog Layout.', mtInformation, [mbok], 0)
       else if Component is TwwRecordViewPanel then
          MessageDlg('DataSet required to customize RecordViewPanel Layout.', mtInformation, [mbok], 0)
       else if Component is TwwDataInspector then
          MessageDlg('DataSet required to customize ObjectView Layout.', mtInformation, [mbok], 0)
       else MessageDlg('Missing LookupTable', mtInformation, [mbok], 0);
    end
    else if (EditSelectedFieldsProperty(component, listHandle, DataSet, Designer, True,
             useTFields, selectedPropertyType)) then
    begin
       if useTFields then wwDataSetUpdateFieldProperties(DataSet, listHandle);
       if GetComponent(0) is TwwCustomLookupDialog then
          TwwCustomLookupDialog(GetComponent(0)).useTFields:= useTFields
       else if GetComponent(0) is TwwDBCustomLookupCombo then
          TwwDBCustomLookupCombo(GetComponent(0)).useTFields:= useTFields;
       if Component is TwwDBCustomLookupCombo then
         (Component as TwwDBCustomLookupCombo).refreshDisplay
       else if Component is TwwRecordViewPanel then
         (Component as TwwRecordViewPanel).RecreateControls
       else if Component is TwwDataInspector then
         (Component as TwwDataInspector).ApplySettings;
    end
end;

procedure TwwDBLookupDisplayComponentEditor.Edit;
var
   listHandle : TStrings;
   dataSet: TDataSet;
   useTFields: boolean;
   SelectedPropertyType: TwwSelectedPropertyType;
begin
   GetComponentData(Component, listHandle, dataSet);
   SelectedPropertyType:= sptNone;
   if Component is TwwCustomLookupDialog then
   begin
      useTFields:= TwwCustomLookupDialog(Component).useTFields;
   end
   else if Component is TwwDBCustomLookupCombo then
   begin
      useTFields:= TwwDBCustomLookupCombo(Component).useTFields;
   end
   else if Component is TwwRecordViewDialog then
   begin
      useTFields:= False;
      SelectedPropertyType:= sptRecordViewType;
   end
   else if Component is TwwDataInspector then
   begin
      SelectedPropertyType:= sptObjectViewType;
      useTFields:= False;
   end
   else if Component is TwwRecordViewPanel then
   begin
      useTFields:= False;
      SelectedPropertyType:= sptRecordViewType;
   end;
   if (dataSet=Nil) then begin
      if Component is TwwSearchDialog then begin
         MessageDlg('ShadowSearchTable is required to customize field layout of search dialog.', mtInformation, [mbok], 0);
      end
      else if Component is TwwRecordViewDialog then
         MessageDlg('DataSet required to customize RecordViewDialog Layout.', mtInformation, [mbok], 0)
      else if Component is TwwRecordViewPanel then
         MessageDlg('DataSet required to customize RecordViewPanel Layout.', mtInformation, [mbok], 0)
      else if Component is TwwDataInspector then
         MessageDlg('DataSet required to customize ObjectView Layout.', mtInformation, [mbok], 0)
      else MessageDlg('Missing LookupTable', mtInformation, [mbok], 0);
   end
   else if (EditSelectedFieldsProperty(component, listHandle, DataSet, Designer, False, useTFields,
            SelectedPropertyType)) then
   begin
      if useTFields then wwDataSetUpdateFieldProperties(DataSet, listHandle);
      if Component is TwwCustomLookupDialog then
         TwwCustomLookupDialog(Component).useTFields:= useTFields
      else if Component is TwwDBCustomLookupCombo then
         TwwDBCustomLookupCombo(Component).useTFields:= useTFields;
      if Component is TwwDBCustomLookupCombo then
        (Component as TwwDBCustomLookupCombo).refreshDisplay
      else if Component is TwwRecordViewPanel then
         (Component as TwwRecordViewPanel).RecreateControls
       else if Component is TwwDataInspector then
         (Component as TwwDataInspector).ApplySettings;
   end
end;

Function TwwIndexFieldProperty.GetAttributes: TPropertyAttributes;
begin
   result:= [paValueList, paSortList];
end;

procedure TwwIndexFieldProperty.GetValues(Proc : TGetStrProc);
var
    LookupTable: TDataSet;
    curpos, i: integer;
    addedList: TStrings;
    indexFieldName: string;
begin
    if GetComponent(0) is TwwDBCustomLookupCombo then
       LookupTable:= (GetComponent(0) as TwwDBCustomLookupCombo).LookupTable
    else exit;

    if (LookupTable<>Nil) then begin
       if (LookupTable is TTable) or
          (LookupTable is TwwTable) and ((LookupTable as TwwTable).Query.Count=0) then begin
          addedList:= TStringList.create;

          (LookupTable as TTable).IndexDefs.update;
          for i:= 0 to (LookupTable as TTable).IndexDefs.count-1 do
          begin
             curpos:= 1;
             indexFieldName:= strGetToken((LookupTable as TTable).IndexDefs.Items[i].fields, ';', curpos);
             if (addedList.indexOf(indexFieldName)<0) then begin
                Proc(indexFieldname);
                addedList.add(indexFieldName);
             end
          end;

          addedList.free;
       end
       else begin
          for i:= 0 to LookupTable.FieldCount-1 do
             Proc(LookupTable.Fields[i].FieldName);
       end
    end
end;

Function TwwSearchFieldProperty.GetAttributes: TPropertyAttributes;
begin
   result:= [paValueList, paSortList];
end;

procedure TwwSearchFieldProperty.GetValues(Proc : TGetStrProc);
var
    ds: TDataSource;
    i: integer;
begin
   if GetComponent(0) is TwwLocateDialog then
      ds:= (GetComponent(0) as TwwLocateDialog).dataSource
   else if GetComponent(0) is TwwFilterDialog then
      ds:= (GetComponent(0) as TwwFilterDialog).dataSource
   else exit;

   if (ds<>Nil) and (ds.dataSet<>Nil) then begin
     with ds.DataSet do begin
        for i:= 0 to fieldCount-1 do begin
           if (fields[i].dataType = ftBlob) or (fields[i].dataType=ftGraphic) or
              (fields[i].dataType = ftVarBytes) or (fields[i].dataType=ftBytes) then
              continue;
           Proc(fields[i].FieldName);
        end
     end;
   end
end;

procedure TwwTableProperty.GetValues(Proc : TGetStrProc);
{$ifndef win32}
var
  I,J: Integer;
  ownerComponent, dmComponent, Component: TComponent;
{$endif}
begin
  {$ifdef win32}
  Designer.GetComponentNames(GetTypeData(TypeInfo(TwwTable)), Proc);
  {$else}
  ownerComponent:= ((GetComponent(0) as TComponent).Owner);
  if ownerComponent = nil then exit;

  for I := 0 to ownerComponent.ComponentCount - 1 do
  begin
    Component := ownerComponent.Components[I];
    if (Component is TwwTable) and (Component.Name <> '') then
      Proc(Component.Name);
  end;
  {$endif}
end;

    function TSelectedFieldsProperty.GetValue: string;
    begin
       result := 'wwDBGrid';
    end;

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

    procedure TSelectedFieldsProperty.Edit;
    var
      grid       : TwwDBGrid;
      useTFields: boolean;
    begin
       grid:= GetComponent(0) as TwwDBGrid;
       if (grid.dataSource=Nil) then begin
           MessageDlg('Grid requires a DataSource', mtInformation, [mbok], 0);
           exit;
       end;
       if (grid.dataSource.dataset=Nil) then begin { 12/1/98 }
           MessageDlg('Grid requires a DataSet', mtInformation, [mbok], 0);
           exit;
       end;

       useTFields:= grid.useTFields;
       if (EditSelectedFieldsProperty(grid, grid.Selected, grid.dataSource.dataset,
          Designer, True, useTFields, sptNone)) then
       begin
          grid.useTFields:= useTFields;
//          if not useTFields then grid.applyselected;
          grid.redrawGrid;
       end
       else if not useTFields then grid.ApplySelected;
    end;


    procedure TwwDBGridComponentEditor.edit;
    var
      grid       : TwwDBGrid;
      useTFields: boolean;
    begin
       grid:= Component as TwwDBGrid;
       if (grid.dataSource=Nil) then begin
           MessageDlg('Grid requires a DataSource', mtInformation, [mbok], 0);
           exit;
       end;
       if (grid.dataSource.dataset=Nil) then begin { 12/1/98 }
           MessageDlg('Grid requires a DataSet', mtInformation, [mbok], 0);
           exit;
       end;
       useTFields:= grid.useTFields;
       if (EditSelectedFieldsProperty(grid, grid.Selected, grid.dataSource.dataset,
          Designer, True, useTFields, sptNone)) then begin
          grid.useTFields:= useTFields;
          grid.redrawGrid;
       end
       else if not useTFields then grid.ApplySelected;
    end;

    procedure TwwRecordViewPanelComponentEditor.edit;
    var
      ListHandle: TStrings;
      DataSet: TDataSet;
      useTFields: boolean;
    begin
       GetComponentData(Component, listHandle, dataSet);
       if (dataset=Nil) then begin
           MessageDlg('Component requires a DataSourc/DataSet', mtInformation, [mbok], 0);
           exit;
       end;
       useTFields:= False;
       if (EditSelectedFieldsProperty(component, listHandle, DataSet,
          Designer, True, useTFields, sptRecordViewType)) then
          (Component as TwwRecordViewPanel).RecreateControls;
    end;

Function TwwComboItemsProperty.GetAttributes: TPropertyAttributes;
begin
   result:= [paDialog, paMultiSelect];
end;

Function GetItems(Component: TPersistent): TStrings;
var PropInfo: PPropInfo;
begin
   Result:= Nil;
   PropInfo:= Typinfo.GetPropInfo(Component.ClassInfo,'Items');
   if PropInfo<>Nil then
      result:= TStrings(GetOrdProp(Component, PropInfo));
end;

procedure TwwComboItemsProperty.Edit;
var MapList: boolean;
    i: integer;

   Function GetMapList(Component: TPersistent): boolean;
   var PropInfo: PPropInfo;
   begin
      result:= false;
      PropInfo:= Typinfo.GetPropInfo(Component.ClassInfo,'MapList');
      if PropInfo<>Nil then
         result:= Boolean(GetOrdProp(Component, PropInfo));
   end;

   Procedure SetMapList(Component: TPersistent; val: boolean);
   var PropInfo: PPropInfo;
   begin
      PropInfo:= Typinfo.GetPropInfo(Component.ClassInfo,'MapList');
      if PropInfo<>Nil then
         SetOrdProp(Component, PropInfo, ord(val));
   end;

begin
   MapList:= GetMapList(GetComponent(0));
   if wwEditComboList(GetItems(GetComponent(0)), MapList) then
   begin
      SetMapList(GetComponent(0), MapList); // 11/19/99 - Fix bug in not updating maplist property
      for i:= 1 to PropCount-1 do  {8/23/96 - Change all selected controls }
      begin
          GetItems(GetComponent(i)).assign(GetItems(GetComponent(0)));
          SetMapList(GetComponent(i), MapList);
      end;
//      SetMapList(GetComponent(0), MapList);
      Designer.modified;
   end;
end;

Function TwwComboItemsProperty.GetValue: string;
begin
   result:= '<' + inttostr(GetItems(GetComponent(0)).count) + ' Items>';
end;

function TwwPictureProperty.GetValue: string;
begin
   with (GetComponent(0) as TwwCustomMaskEdit) do begin
      result:= Picture.PictureMask;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看欧美日本| 337p日本欧洲亚洲大胆色噜噜| 欧美日韩在线播放三区| 久久精品人人做| 性久久久久久久久久久久| 成人动漫中文字幕| 欧美一区永久视频免费观看| 国产精品高清亚洲| 另类小说综合欧美亚洲| 在线观看欧美日本| 欧美高清在线一区| 精品一二线国产| 欧美日韩aaaaaa| 伊人色综合久久天天人手人婷| 欧美bbbbb| 欧美日韩国产小视频在线观看| 亚洲视频一区二区在线观看| 国产精品一级片在线观看| 91精品国产色综合久久久蜜香臀| 自拍偷拍国产亚洲| 99久久久精品免费观看国产蜜| 精品久久一二三区| 蜜臀av性久久久久蜜臀aⅴ流畅| 色哦色哦哦色天天综合| 亚洲欧美影音先锋| 成人综合婷婷国产精品久久 | eeuss鲁一区二区三区| 精品剧情v国产在线观看在线| 丝袜诱惑亚洲看片 | 成人国产视频在线观看| 久久天天做天天爱综合色| 青青草精品视频| 91精品久久久久久久99蜜桃| 午夜精品福利在线| 在线视频你懂得一区二区三区| 亚洲手机成人高清视频| 色又黄又爽网站www久久| 国产精品天天摸av网| 丁香啪啪综合成人亚洲小说| 久久久久97国产精华液好用吗| 国产精品一二三在| 国产三级精品在线| av不卡在线播放| 亚洲精品国产精华液| 日本高清不卡一区| 亚洲h精品动漫在线观看| 欧美裸体一区二区三区| 日本特黄久久久高潮| 欧美精品一区视频| 粉嫩一区二区三区性色av| 国产精品欧美精品| 欧美午夜精品理论片a级按摩| 亚洲二区视频在线| 日韩一卡二卡三卡四卡| 韩国视频一区二区| 国产精品国产三级国产aⅴ入口| 91久久精品一区二区| 天天做天天摸天天爽国产一区| 日韩免费在线观看| 成人av手机在线观看| 亚洲一区免费在线观看| 欧美一区二区久久久| 国产精品一二三四区| 亚洲一区自拍偷拍| 日韩欧美亚洲国产精品字幕久久久| 国产一区二区三区电影在线观看| 自拍偷拍欧美精品| 日韩丝袜美女视频| 成人午夜又粗又硬又大| 香蕉乱码成人久久天堂爱免费| 精品电影一区二区三区| 不卡的电视剧免费网站有什么| 午夜视黄欧洲亚洲| 欧美激情一区不卡| 91麻豆精品91久久久久同性| 国产馆精品极品| 日韩综合一区二区| 中文字幕中文在线不卡住| 欧美日韩成人激情| 成人免费毛片app| 蜜臀久久久99精品久久久久久| 日韩美女视频一区二区| 欧美成人伊人久久综合网| 91免费观看在线| 精品午夜久久福利影院| 亚洲自拍偷拍欧美| 欧美激情一区二区| 欧美一区二区三区四区五区| 99热这里都是精品| 激情小说欧美图片| 亚洲国产成人91porn| 国产精品久久久久久久第一福利 | 亚洲成人午夜影院| 中文字幕在线免费不卡| 精品国产一区二区三区av性色| 在线视频国内一区二区| 成人av在线播放网址| 精品一二线国产| 日本欧美韩国一区三区| 亚洲va天堂va国产va久| 亚洲精品写真福利| 亚洲人成亚洲人成在线观看图片| 国产欧美精品国产国产专区| 26uuu亚洲婷婷狠狠天堂| 91精品国产综合久久久久久 | 夜夜揉揉日日人人青青一国产精品| 国产亚洲va综合人人澡精品| 精品裸体舞一区二区三区| 日韩欧美国产高清| 欧美精选一区二区| 欧美日韩精品电影| 欧美日韩一区二区三区高清| 色天天综合久久久久综合片| 97久久人人超碰| 欧美日本一道本| 在线观看日韩毛片| 在线精品视频免费观看| 色女孩综合影院| 色综合色综合色综合色综合色综合| 成人性生交大片免费| 成人中文字幕电影| 风间由美一区二区av101 | 欧美丝袜自拍制服另类| 欧美专区日韩专区| 欧美性色欧美a在线播放| 色又黄又爽网站www久久| 色综合久久久久网| 欧美日韩国产一级片| 欧美一区二区视频在线观看| 欧美成人一区二区三区| 久久影视一区二区| 国产精品水嫩水嫩| 亚洲精品日产精品乱码不卡| 亚洲国产一区二区三区| 日韩国产欧美视频| 久久精品国产99国产| 国产一区二区在线电影| 成人免费va视频| 91麻豆国产福利精品| 欧美日韩一级片网站| 日韩欧美123| 国产丝袜美腿一区二区三区| 椎名由奈av一区二区三区| 亚洲一级二级三级在线免费观看| 久久国产尿小便嘘嘘| 99精品黄色片免费大全| 欧美精品粉嫩高潮一区二区| 久久夜色精品国产噜噜av| 国产精品久久久久桃色tv| 亚洲嫩草精品久久| 老汉av免费一区二区三区 | 91极品美女在线| 欧美一级二级三级蜜桃| 国产精品美女久久久久久久| 亚洲成人免费在线| 国产一区二区成人久久免费影院| 在线看一区二区| 精品国产乱码久久久久久图片 | 精品国内片67194| 中文在线资源观看网站视频免费不卡| 亚洲精品成人精品456| 麻豆成人综合网| 一本色道久久综合精品竹菊| 精品国产免费久久| 亚洲激情图片qvod| 国产不卡高清在线观看视频| 欧美三级在线播放| 日本一区二区三区视频视频| 亚洲bt欧美bt精品777| 成人国产亚洲欧美成人综合网| 日韩一区二区三区免费看| 亚洲图片你懂的| 久久99精品国产.久久久久久| 欧美亚洲自拍偷拍| 欧美国产成人精品| 国内成人免费视频| 欧美日韩高清在线播放| 日韩毛片视频在线看| 韩国一区二区视频| 日韩亚洲欧美一区二区三区| 一级女性全黄久久生活片免费| 国产一区91精品张津瑜| 欧美亚洲一区二区三区四区| 国产精品麻豆欧美日韩ww| 久久99久久99| 91精品国产入口在线| 一区二区成人在线| www.色综合.com| 欧美激情一区二区三区全黄| 国产综合一区二区| 精品国内二区三区| 久久精品噜噜噜成人88aⅴ| 欧美精品久久久久久久久老牛影院| 亚洲日本免费电影| 懂色av一区二区在线播放| 2024国产精品| 精品在线观看免费| 欧美成人一区二区| 韩国精品免费视频| 亚洲欧美另类综合偷拍|