gx.evt.autoSkip=false;function himh076(){this.ServerClass="HImh076";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5CarNro=gx.fn.getIntegerValue("vCARNRO",".")};this.e11162_client=function(){this.executeServerEvent("ENTER",true)};this.e13161_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,13,17,18];this.GXLastCtrlId=18;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",16,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh076",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(86,17,"CARNRO","Nro","","CarNro","int",0,"px",3,3,"right",null,[],86,"CarNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(85,18,"CARNOM","Nome","","CarNom","char",160,"px",30,30,"left",null,[],85,"CarNom",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[17]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CARNRO",gxz:"Z86CarNro",gxold:"O86CarNro",gxvar:"A86CarNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A86CarNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z86CarNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CARNRO",gx.fn.currentGridRowImpl(16),gx.O.A86CarNro,0)},c2v:function(){gx.O.A86CarNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("CARNRO",gx.fn.currentGridRowImpl(16),".")},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CARNOM",gxz:"Z85CarNom",gxold:"O85CarNom",gxvar:"A85CarNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A85CarNom=a
},v2z:function(a){gx.O.Z85CarNom=a},v2c:function(){gx.fn.setGridControlValue("CARNOM",gx.fn.currentGridRowImpl(16),gx.O.A85CarNom,0)},c2v:function(){gx.O.A85CarNom=this.val()},val:function(){return gx.fn.getGridControlValue("CARNOM",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.Z86CarNro=0;this.O86CarNro=0;this.Z85CarNom="";this.O85CarNom="";this.AV5CarNro=0;this.A86CarNro=0;this.A85CarNom="";this.ServerEvents=["e11162_client","e13161_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV5CarNro={id:"vCARNRO",grid:0,type:"int"};
this.SetStandaloneVars()}himh076.prototype=new gx.GxObject;gx.setParentObj(new himh076());