gx.evt.autoSkip=false;function gx02x0(){this.ServerClass="Gx02X0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pT01UsbCod=gx.fn.getControlValue("vPT01USBCOD")};this.e13a92_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14a91_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,38];this.GXLastCtrlId=38;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02x0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(842,33,"T01USBCOD","T01UsbCod","","T01UsbCod","char",0,"px",15,15,"left",null,[],842,"T01UsbCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(843,34,"T01USBNOM","T01UsbNom","Selecionar","T01UsbNom","char",0,"px",38,38,"left",null,[],843,"T01UsbNom",true,0,false,false);
this.Grid1Container.addSingleLineEdit(844,35,"T01USBNOMF","T01UsbNomFoto","","T01UsbNomF","char",0,"px",12,12,"left",null,[],844,"T01UsbNomF",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKT01USBCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCT01USBCOD",gxz:"ZV6cT01UsbCod",gxold:"OV6cT01UsbCod",gxvar:"AV6cT01UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cT01UsbCod=a
},v2z:function(a){gx.O.ZV6cT01UsbCod=a},v2c:function(){gx.fn.setControlValue("vCT01USBCOD",gx.O.AV6cT01UsbCod,0)},c2v:function(){gx.O.AV6cT01UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vCT01USBCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKT01USBNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:38,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCT01USBNOM",gxz:"ZV7cT01UsbNom",gxold:"OV7cT01UsbNom",gxvar:"AV7cT01UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cT01UsbNom=a
},v2z:function(a){gx.O.ZV7cT01UsbNom=a},v2c:function(){gx.fn.setControlValue("vCT01USBNOM",gx.O.AV7cT01UsbNom,0)},c2v:function(){gx.O.AV7cT01UsbNom=this.val()},val:function(){return gx.fn.getControlValue("vCT01USBNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKT01USBNOMFOTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCT01USBNOMFOTO",gxz:"ZV8cT01UsbNomFoto",gxold:"OV8cT01UsbNomFoto",gxvar:"AV8cT01UsbNomFoto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cT01UsbNomFoto=a
},v2z:function(a){gx.O.ZV8cT01UsbNomFoto=a},v2c:function(){gx.fn.setControlValue("vCT01USBNOMFOTO",gx.O.AV8cT01UsbNomFoto,0)},c2v:function(){gx.O.AV8cT01UsbNomFoto=this.val()},val:function(){return gx.fn.getControlValue("vCT01USBNOMFOTO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"T01USBCOD",gxz:"Z842T01UsbCod",gxold:"O842T01UsbCod",gxvar:"A842T01UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A842T01UsbCod=a
},v2z:function(a){gx.O.Z842T01UsbCod=a},v2c:function(){gx.fn.setGridControlValue("T01USBCOD",gx.fn.currentGridRowImpl(31),gx.O.A842T01UsbCod,0)},c2v:function(){gx.O.A842T01UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("T01USBCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:38,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"T01USBNOM",gxz:"Z843T01UsbNom",gxold:"O843T01UsbNom",gxvar:"A843T01UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A843T01UsbNom=a
},v2z:function(a){gx.O.Z843T01UsbNom=a},v2c:function(){gx.fn.setGridControlValue("T01USBNOM",gx.fn.currentGridRowImpl(31),gx.O.A843T01UsbNom,0)},c2v:function(){gx.O.A843T01UsbNom=this.val()},val:function(){return gx.fn.getGridControlValue("T01USBNOM",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"T01USBNOMF",gxz:"Z844T01UsbNomF",gxold:"O844T01UsbNomF",gxvar:"A844T01UsbNomF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A844T01UsbNomF=a
},v2z:function(a){gx.O.Z844T01UsbNomF=a},v2c:function(){gx.fn.setGridControlValue("T01USBNOMF",gx.fn.currentGridRowImpl(31),gx.O.A844T01UsbNomF,0)},c2v:function(){gx.O.A844T01UsbNomF=this.val()},val:function(){return gx.fn.getGridControlValue("T01USBNOMF",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cT01UsbCod="";this.ZV6cT01UsbCod="";this.OV6cT01UsbCod="";this.AV7cT01UsbNom="";this.ZV7cT01UsbNom="";this.OV7cT01UsbNom="";this.AV8cT01UsbNomFoto="";
this.ZV8cT01UsbNomFoto="";this.OV8cT01UsbNomFoto="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z842T01UsbCod="";this.O842T01UsbCod="";this.Z843T01UsbNom="";this.O843T01UsbNom="";this.Z844T01UsbNomF="";this.O844T01UsbNomF="";this.AV9pT01UsbCod="";this.AV5LinkSelection="";this.A842T01UsbCod="";this.A843T01UsbNom="";this.A844T01UsbNomF="";this.ServerEvents=["e13a92_client","e14a91_client"];this.VarControlMap.AV9pT01UsbCod={id:"vPT01USBCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx02x0.prototype=new gx.GxObject;gx.setParentObj(new gx02x0());