edrp.cn的Blog

学习,需要交流,欢迎大家和我共同来学习C#,ASP.NET,MS SQL Server开发Web项目,欢迎大家和我交流

博客园 首页 新随笔 联系 订阅 管理

 //布尔型
  if (AnsiCompareText(tempParamName,trim('CheckClientDog'))=0) or
     (AnsiCompareText(tempParamName,trim('CheckServerDog'))=0) or
     (AnsiCompareText(tempParamName,trim('CheckClientLicense'))=0) or
     (AnsiCompareText(tempParamName,trim('CheckServerLicense'))=0) or
     (AnsiCompareText(tempParamName,trim('UseCustomObjectRight'))=0)  then
  begin
    AProperties:=EditRepositoryCheckBoxItem1.Properties;
  end
  //Guid默认类型
  else if (AnsiCompareText(tempParamName,trim('GuidDefaultType'))=0) then
  begin
    AProperties:=EditRepositoryComboBoxItem_GuidType.Properties;
  end
  //下拉枚举型
  else if (AnsiCompareText(tempParamName,trim('VersionNo'))=0) then
  begin
    AProperties:=EditRepositoryComboBoxItem_VersionNo.Properties;
  end
  //下拉数字列表型
  else if (AnsiCompareText(tempParamName,trim(''))=0)   then
  begin
    AProperties:=EditRepositoryComboBoxItem_NumberListMond.Properties;
  end
  //整型数字型
  else if  (AnsiCompareText(tempParamName,trim('Leftspacing'))=0) or
           (AnsiCompareText(tempParamName,trim('Topspacing'))=0) or
           (AnsiCompareText(tempParamName,trim('Righttspacing'))=0) or
           (AnsiCompareText(tempParamName,trim('Bottomspacing'))=0) or
           (AnsiCompareText(tempParamName,trim('Xspacing'))=0) or
           (AnsiCompareText(tempParamName,trim('Yspacing'))=0) or
           (AnsiCompareText(tempParamName,trim('FuncUpdateCount'))=0)   then
  begin
    AProperties:=EditRepositoryCalcItem_Int.Properties;
  end
  //Color型
  else if (AnsiCompareText(tempParamName,trim('NotNullFontColor'))=0) or
          (AnsiCompareText(tempParamName,trim('ReadOnlyFontColor'))=0)  then
  begin
    AProperties:=EditRepositoryColorComboBox1.Properties;
  end
  //日期型
  //开始使用日期
  else if (AnsiCompareText(tempParamName,trim('BegUseDate'))=0) then
  begin
    AProperties:=EditRepositoryDateItem1.Properties;
  end
  else if (AnsiCompareText(tempParamName,trim('ClientType'))=0) then
  begin
    AProperties:=EditRepositoryCheckComboBox_ClientType.Properties;
  end
  else if (AnsiCompareText(tempParamName,trim('CustomCustName'))=0) then
  begin
    AProperties:=EditRepositoryCheckComboBox_CustomCustName.Properties;
  end
  else if (AnsiCompareText(tempParamName,trim(''))=0) then
  begin
    AProperties:=EditRepositoryMemoItem1.Properties;
  end
  //其它无需处理的类型
  else
  begin

  end;

posted on 2022-04-02 20:39  edrp.cn  阅读(151)  评论(0编辑  收藏  举报