gx.evt.autoSkip=false;function gx01s0(){this.ServerClass="Gx01S0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pTcaTipTabela=gx.fn.getControlValue("vPTCATIPTABELA");this.AV11pTcaNomAbreviado=gx.fn.getControlValue("vPTCANOMABREVIADO")};this.e13at2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14at1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,41,44];
this.GXLastCtrlId=44;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01s0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(857,38,"TCATIPTABE","Tipo de tabela","","TcaTipTabe","char",0,"px",2,1,"left",null,[],857,"TcaTipTabe",true,0,false,false);
this.Grid1Container.addSingleLineEdit(856,39,"TCANOMABRE","Sobrenome abreviado","","TcaNomAbre","char",0,"px",20,20,"left",null,[],856,"TcaNomAbre",true,0,false,false);this.Grid1Container.addSingleLineEdit(855,40,"TCACODAUTO","Código do autor","Selecionar","TcaCodAuto","char",0,"px",7,7,"left",null,[],855,"TcaCodAuto",true,0,false,false);this.Grid1Container.addSingleLineEdit(854,41,"TCACAMPO1L","Campo livre","","TcaCampo1L","char",0,"px",20,20,"left",null,[],854,"TcaCampo1L",true,0,false,false);this.setGrid(this.Grid1Container);
this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKTCATIPTABELA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTCATIPTABELA",gxz:"ZV6cTcaTipTabela",gxold:"OV6cTcaTipTabela",gxvar:"AV6cTcaTipTabela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cTcaTipTabela=a},v2z:function(a){gx.O.ZV6cTcaTipTabela=a
},v2c:function(){gx.fn.setControlValue("vCTCATIPTABELA",gx.O.AV6cTcaTipTabela,0)},c2v:function(){gx.O.AV6cTcaTipTabela=this.val()},val:function(){return gx.fn.getControlValue("vCTCATIPTABELA")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKTCANOMABREVIADO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTCANOMABREVIADO",gxz:"ZV7cTcaNomAbreviado",gxold:"OV7cTcaNomAbreviado",gxvar:"AV7cTcaNomAbreviado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cTcaNomAbreviado=a
},v2z:function(a){gx.O.ZV7cTcaNomAbreviado=a},v2c:function(){gx.fn.setControlValue("vCTCANOMABREVIADO",gx.O.AV7cTcaNomAbreviado,0)},c2v:function(){gx.O.AV7cTcaNomAbreviado=this.val()},val:function(){return gx.fn.getControlValue("vCTCANOMABREVIADO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKTCACODAUTOR",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTCACODAUTOR",gxz:"ZV8cTcaCodAutor",gxold:"OV8cTcaCodAutor",gxvar:"AV8cTcaCodAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cTcaCodAutor=a
},v2z:function(a){gx.O.ZV8cTcaCodAutor=a},v2c:function(){gx.fn.setControlValue("vCTCACODAUTOR",gx.O.AV8cTcaCodAutor,0)},c2v:function(){gx.O.AV8cTcaCodAutor=this.val()},val:function(){return gx.fn.getControlValue("vCTCACODAUTOR")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKTCACAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTCACAMPO1LIVRE",gxz:"ZV9cTcaCampo1Livre",gxold:"OV9cTcaCampo1Livre",gxvar:"AV9cTcaCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cTcaCampo1Livre=a
},v2z:function(a){gx.O.ZV9cTcaCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCTCACAMPO1LIVRE",gx.O.AV9cTcaCampo1Livre,0)},c2v:function(){gx.O.AV9cTcaCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCTCACAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TCATIPTABE",gxz:"Z857TcaTipTabe",gxold:"O857TcaTipTabe",gxvar:"A857TcaTipTabe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A857TcaTipTabe=a
},v2z:function(a){gx.O.Z857TcaTipTabe=a},v2c:function(){gx.fn.setGridControlValue("TCATIPTABE",gx.fn.currentGridRowImpl(36),gx.O.A857TcaTipTabe,0)},c2v:function(){gx.O.A857TcaTipTabe=this.val()},val:function(){return gx.fn.getGridControlValue("TCATIPTABE",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TCANOMABRE",gxz:"Z856TcaNomAbre",gxold:"O856TcaNomAbre",gxvar:"A856TcaNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A856TcaNomAbre=a
},v2z:function(a){gx.O.Z856TcaNomAbre=a},v2c:function(){gx.fn.setGridControlValue("TCANOMABRE",gx.fn.currentGridRowImpl(36),gx.O.A856TcaNomAbre,0)},c2v:function(){gx.O.A856TcaNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("TCANOMABRE",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:7,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TCACODAUTO",gxz:"Z855TcaCodAuto",gxold:"O855TcaCodAuto",gxvar:"A855TcaCodAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A855TcaCodAuto=a
},v2z:function(a){gx.O.Z855TcaCodAuto=a},v2c:function(){gx.fn.setGridControlValue("TCACODAUTO",gx.fn.currentGridRowImpl(36),gx.O.A855TcaCodAuto,0)},c2v:function(){gx.O.A855TcaCodAuto=this.val()},val:function(){return gx.fn.getGridControlValue("TCACODAUTO",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TCACAMPO1L",gxz:"Z854TcaCampo1L",gxold:"O854TcaCampo1L",gxvar:"A854TcaCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A854TcaCampo1L=a
},v2z:function(a){gx.O.Z854TcaCampo1L=a},v2c:function(){gx.fn.setGridControlValue("TCACAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A854TcaCampo1L,0)},c2v:function(){gx.O.A854TcaCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("TCACAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.AV6cTcaTipTabela="";this.ZV6cTcaTipTabela="";this.OV6cTcaTipTabela="";this.AV7cTcaNomAbreviado="";this.ZV7cTcaNomAbreviado="";this.OV7cTcaNomAbreviado="";
this.AV8cTcaCodAutor="";this.ZV8cTcaCodAutor="";this.OV8cTcaCodAutor="";this.AV9cTcaCampo1Livre="";this.ZV9cTcaCampo1Livre="";this.OV9cTcaCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z857TcaTipTabe="";this.O857TcaTipTabe="";this.Z856TcaNomAbre="";this.O856TcaNomAbre="";this.Z855TcaCodAuto="";this.O855TcaCodAuto="";this.Z854TcaCampo1L="";this.O854TcaCampo1L="";this.AV10pTcaTipTabela="";this.AV11pTcaNomAbreviado="";this.AV5LinkSelection="";this.A857TcaTipTabe="";this.A856TcaNomAbre="";
this.A855TcaCodAuto="";this.A854TcaCampo1L="";this.ServerEvents=["e13at2_client","e14at1_client"];this.VarControlMap.AV10pTcaTipTabela={id:"vPTCATIPTABELA",grid:0,type:"char"};this.VarControlMap.AV11pTcaNomAbreviado={id:"vPTCANOMABREVIADO",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.SetStandaloneVars()
}gx01s0.prototype=new gx.GxObject;gx.setParentObj(new gx01s0());