diff --git a/public10/design/U_DetailBaseList.pas b/public10/design/U_DetailBaseList.pas index 6566270..8b28dad 100644 --- a/public10/design/U_DetailBaseList.pas +++ b/public10/design/U_DetailBaseList.pas @@ -371,8 +371,8 @@ begin fWindowDesign.fProcedureName:=fProcedureName; TgridLiSet.Visible:=gIsCanDesign; fdesignCode := fDllFileName +'|'+self.name+ '|' + intTostr(fformId) ; - CreateCxGridColumn(application, Tv1,ADOQueryBaseTemp,PWideChar(fdesignCode+'|cxgrid1')); - CreateCxGridColumn(application, Tv1,ADOQueryBaseTemp,PWideChar(fdesignCode+'|cxgrid2')); + CreateCxGridColumn( Tv1,ADOQueryBaseTemp,PWideChar(fdesignCode+'|cxgrid1')); + CreateCxGridColumn( Tv1,ADOQueryBaseTemp,PWideChar(fdesignCode+'|cxgrid2')); //增加动态条件 addQryContionByLay(ADOQueryBaseTemp,fformId,'cxgrid1',dxLayoutControl_query,7); ReadCxGrid(trim(self.Caption) + 'Tv1', Tv1, gDllFileCaption);