gx.evt.autoSkip=false;function hlbaca(){this.ServerClass="HLBaca";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV5EdiCod=gx.fn.getIntegerValue("vEDICOD",".")};this.e15de1_client=function(){this.clearMessages();this.refreshOutputs([])};this.e11de2_client=function(){this.executeServerEvent("ENTER",true)};this.e16de2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,9,10,14,15,16,17];
this.GXLastCtrlId=17;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",13,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hlbaca",[],false,1,false,true,5,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(332,14,"EDINOMCOMP","Nome","","EdiNomComp","char",0,"px",100,100,"left",null,[],332,"EdiNomComp",true,0,false,false);this.Grid1Container.addSingleLineEdit(329,15,"EDINOMABRE","Nome abreviado","","EdiNomAbre","char",0,"px",70,70,"left",null,[],329,"EdiNomAbre",true,0,false,false);
this.Grid1Container.addSingleLineEdit(334,16,"EDINRO","Editora","","EdiNro","int",0,"px",5,5,"right",null,[],334,"EdiNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(331,17,"EDINOMCIDA","Cidade","","EdiNomCida","char",0,"px",35,35,"left",null,[],331,"EdiNomCida",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[9]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[10]={fld:"TABLE2",grid:0};this.GXValidFnc[14]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EDINOMCOMP",gxz:"Z332EdiNomComp",gxold:"O332EdiNomComp",gxvar:"A332EdiNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A332EdiNomComp=a
},v2z:function(a){gx.O.Z332EdiNomComp=a},v2c:function(){gx.fn.setGridControlValue("EDINOMCOMP",gx.fn.currentGridRowImpl(13),gx.O.A332EdiNomComp,0)},c2v:function(){gx.O.A332EdiNomComp=this.val()},val:function(){return gx.fn.getGridControlValue("EDINOMCOMP",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[15]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EDINOMABRE",gxz:"Z329EdiNomAbre",gxold:"O329EdiNomAbre",gxvar:"A329EdiNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A329EdiNomAbre=a
},v2z:function(a){gx.O.Z329EdiNomAbre=a},v2c:function(){gx.fn.setGridControlValue("EDINOMABRE",gx.fn.currentGridRowImpl(13),gx.O.A329EdiNomAbre,0)},c2v:function(){gx.O.A329EdiNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("EDINOMABRE",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EDINRO",gxz:"Z334EdiNro",gxold:"O334EdiNro",gxvar:"A334EdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A334EdiNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z334EdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EDINRO",gx.fn.currentGridRowImpl(13),gx.O.A334EdiNro,0)},c2v:function(){gx.O.A334EdiNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("EDINRO",gx.fn.currentGridRowImpl(13),".")},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"char",len:35,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EDINOMCIDA",gxz:"Z331EdiNomCida",gxold:"O331EdiNomCida",gxvar:"A331EdiNomCida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A331EdiNomCida=a
},v2z:function(a){gx.O.Z331EdiNomCida=a},v2c:function(){gx.fn.setGridControlValue("EDINOMCIDA",gx.fn.currentGridRowImpl(13),gx.O.A331EdiNomCida,0)},c2v:function(){gx.O.A331EdiNomCida=this.val()},val:function(){return gx.fn.getGridControlValue("EDINOMCIDA",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.Z332EdiNomComp="";this.O332EdiNomComp="";this.Z329EdiNomAbre="";this.O329EdiNomAbre="";this.Z334EdiNro=0;this.O334EdiNro=0;this.Z331EdiNomCida="";this.O331EdiNomCida="";this.AV5EdiCod=0;
this.A333EdiNomSemA="";this.A332EdiNomComp="";this.A329EdiNomAbre="";this.A334EdiNro=0;this.A331EdiNomCida="";this.ServerEvents=["e11de2_client","e16de2_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV5EdiCod={id:"vEDICOD",grid:0,type:"int"};this.SetStandaloneVars()}hlbaca.prototype=new gx.GxObject;gx.setParentObj(new hlbaca());