gx.evt.autoSkip=false;function hmih018(){this.ServerClass="HMih018";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV9UsbNomPesq=gx.fn.getControlValue("vUSBNOMPESQ");this.AV10UsuCod=gx.fn.getControlValue("vUSUCOD");this.AV11Controle=gx.fn.getIntegerValue("vCONTROLE",".")};this.e137a2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e147a2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[5,6,7,15];this.GXLastCtrlId=15;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",4,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih018",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(786,5,"USBNOM","Nome","","UsbNom","char",0,"px",50,50,"left",null,[],786,"UsbNom",true,0,false,false);this.Grid1Container.addSingleLineEdit("Usbcodcar",6,"vUSBCODCAR","Código do usuário","","UsbCodCar","char",0,"px",14,14,"left",null,[],"Usbcodcar","UsbCodCar",true,0,false,false);
this.Grid1Container.addSingleLineEdit(934,7,"USBDATVALI","Validade","","UsbDatVali","date",0,"px",10,10,"right",null,[],934,"UsbDatVali",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[5]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:4,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBNOM",gxz:"Z786UsbNom",gxold:"O786UsbNom",gxvar:"A786UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A786UsbNom=a},v2z:function(a){gx.O.Z786UsbNom=a},v2c:function(){gx.fn.setGridControlValue("USBNOM",gx.fn.currentGridRowImpl(4),gx.O.A786UsbNom,1)
},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getGridControlValue("USBNOM",gx.fn.currentGridRowImpl(4))},nac:function(){return false}};this.GXValidFnc[6]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:4,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vUSBCODCAR",gxz:"ZV13UsbCodCar",gxold:"OV13UsbCodCar",gxvar:"AV13UsbCodCar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13UsbCodCar=a},v2z:function(a){gx.O.ZV13UsbCodCar=a},v2c:function(){gx.fn.setGridControlValue("vUSBCODCAR",gx.fn.currentGridRowImpl(4),gx.O.AV13UsbCodCar,1)
},c2v:function(){gx.O.AV13UsbCodCar=this.val()},val:function(){return gx.fn.getGridControlValue("vUSBCODCAR",gx.fn.currentGridRowImpl(4))},nac:function(){return false}};this.GXValidFnc[7]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:4,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBDATVALI",gxz:"Z934UsbDatVali",gxold:"O934UsbDatVali",gxvar:"A934UsbDatVali",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A934UsbDatVali=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z934UsbDatVali=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("USBDATVALI",gx.fn.currentGridRowImpl(4),gx.O.A934UsbDatVali,1)},c2v:function(){gx.O.A934UsbDatVali=this.val()},val:function(){return gx.fn.getGridControlValue("USBDATVALI",gx.fn.currentGridRowImpl(4))},nac:function(){return false}};this.GXValidFnc[15]={fld:"VOLTA",format:0,grid:0};this.Z786UsbNom="";this.O786UsbNom="";this.ZV13UsbCodCar="";this.OV13UsbCodCar="";this.Z934UsbDatVali=gx.date.nullDate();
this.O934UsbDatVali=gx.date.nullDate();this.AV9UsbNomPesq="";this.AV10UsuCod="";this.AV11Controle=0;this.A787UsbCod="";this.A948UsbNomSemA="";this.A786UsbNom="";this.AV13UsbCodCar="";this.A934UsbDatVali=gx.date.nullDate();this.A559ParCod=0;this.A569ParEmpFimP=0;this.A570ParEmpIniP=0;this.A122CfgCod="";this.A127CfgValCont="";this.ServerEvents=["e137a2_client","e147a2_client"];this.VarControlMap.AV9UsbNomPesq={id:"vUSBNOMPESQ",grid:0,type:"char"};this.VarControlMap.AV10UsuCod={id:"vUSUCOD",grid:0,type:"char"};
this.VarControlMap.AV11Controle={id:"vCONTROLE",grid:0,type:"int"};this.VarControlMap.AV9UsbNomPesq={id:"vUSBNOMPESQ",grid:0,type:"char"};this.VarControlMap.AV15IgnUltDig={id:"vIGNULTDIG",grid:0,type:"char"};this.VarControlMap.A787UsbCod={id:"USBCOD",grid:0,type:"char"};this.VarControlMap.AV12PosIni={id:"vPOSINI",grid:0,type:"int"};this.VarControlMap.AV16UsbCodAux={id:"vUSBCODAUX",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV9UsbNomPesq"});this.Grid1Container.addRefreshingVar({rfrVar:"AV15IgnUltDig"});
this.Grid1Container.addRefreshingVar({rfrVar:"A787UsbCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12PosIni"});this.Grid1Container.addRefreshingVar({rfrVar:"AV16UsbCodAux"});this.SetStandaloneVars()}hmih018.prototype=new gx.GxObject;gx.setParentObj(new hmih018());