gx.evt.autoSkip=false;function himh231(){this.ServerClass="HImh231";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV29CfgCod=gx.fn.getControlValue("vCFGCOD")};this.e17hl1_client=function(){this.clearMessages();this.AV29CfgCod="MSGATENCAO";gx.popup.openUrl(gx.http.formatLink("timt029.aspx",[this.AV29CfgCod]),["AV29CfgCod"]);this.refreshOutputs([{av:"AV29CfgCod",fld:"vCFGCOD"}])};this.e14hl2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e12hl2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e13hl2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e18hl2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,16,20,21,22];this.GXLastCtrlId=22;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",19,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh231",[],false,1,true,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addBitmap("&Imagemeditar","vIMAGEMEDITAR",20,0,"px",17,"px",null,"","");this.Subfile1Container.addSingleLineEdit(86,21,"CARNRO","Número","","CarNro","int",0,"px",3,3,"right",null,[],86,"CarNro",true,0,false,false);this.Subfile1Container.addSingleLineEdit(85,22,"CARNOM","Nome","","CarNom","char",0,"px",30,30,"left",null,[],85,"CarNom",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK4",format:0,grid:0};
this.GXValidFnc[20]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:19,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vIMAGEMEDITAR",gxz:"ZV15ImagemEditar",gxold:"OV15ImagemEditar",gxvar:"AV15ImagemEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15ImagemEditar=a},v2z:function(a){gx.O.ZV15ImagemEditar=a},v2c:function(){},c2v:function(){gx.O.AV15ImagemEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMAGEMEDITAR",gx.fn.currentGridRowImpl(19))
},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:19,gxgrid:this.Subfile1Container,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(19),gx.O.A86CarNro,0)},c2v:function(){gx.O.A86CarNro=this.val()
},val:function(){return gx.fn.getGridIntegerValue("CARNRO",gx.fn.currentGridRowImpl(19),".")},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:19,gxgrid:this.Subfile1Container,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(19),gx.O.A85CarNom,0)
},c2v:function(){gx.O.A85CarNom=this.val()},val:function(){return gx.fn.getGridControlValue("CARNOM",gx.fn.currentGridRowImpl(19))},nac:function(){return false}};this.ZV15ImagemEditar="";this.OV15ImagemEditar="";this.Z86CarNro=0;this.O86CarNro=0;this.Z85CarNom="";this.O85CarNom="";this.AV15ImagemEditar="";this.A86CarNro=0;this.A85CarNom="";this.AV29CfgCod="";this.ServerEvents=["e14hl2_client","e12hl2_client","e13hl2_client","e18hl2_client"];this.VarControlMap.AV29CfgCod={id:"vCFGCOD",grid:0,type:"char"};
this.SetStandaloneVars()}himh231.prototype=new gx.GxObject;gx.setParentObj(new himh231());