gx.evt.autoSkip=false;function hmih083(){this.ServerClass="HMih083";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV17UsbCod=gx.fn.getControlValue("vUSBCOD")};this.Validv_Usbnrocpf=function(){try{var a=gx.util.balloon.getNew("vUSBNROCPF");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e14772_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e15771_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,10,13,16,20,23,25,29];this.GXLastCtrlId=29;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",28,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih083",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(787,29,"USBCOD","Leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};
this.GXValidFnc[10]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE1",grid:0};this.GXValidFnc[23]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:15,dec:0,sign:false,pic:"ZZZZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbnrocpf,isvalid:null,rgrid:[this.Grid1Container],fld:"vUSBNROCPF",gxz:"ZV18UsbNroCPF",gxold:"OV18UsbNroCPF",gxvar:"AV18UsbNroCPF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18UsbNroCPF=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18UsbNroCPF=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSBNROCPF",gx.O.AV18UsbNroCPF,0)},c2v:function(){gx.O.AV18UsbNroCPF=this.val()},val:function(){return gx.fn.getIntegerValue("vUSBNROCPF",".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:28,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setGridControlValue("USBCOD",gx.fn.currentGridRowImpl(28),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(28))},nac:function(){return false}};this.AV18UsbNroCPF=0;this.ZV18UsbNroCPF=0;this.OV18UsbNroCPF=0;this.Z787UsbCod="";this.O787UsbCod="";this.AV17UsbCod="";this.A951UsbNroCPF=0;this.A787UsbCod="";this.ServerEvents=["e14772_client","e15771_client"];
this.VarControlMap.AV17UsbCod={id:"vUSBCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[25]);this.SetStandaloneVars()}hmih083.prototype=new gx.GxObject;gx.setParentObj(new hmih083());