gx.evt.autoSkip=false;function himh315(){this.ServerClass="HImh315";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7ParmCodOperador=gx.fn.getControlValue("vPARMCODOPERADOR")};this.e11l62_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e12l62_client=function(){this.executeServerEvent("'ATUALIZAR'",false)};this.e13l62_client=function(){this.executeServerEvent("'MARCAR TODOS'",false)
};this.e14l62_client=function(){this.executeServerEvent("'DESMARCAR TODOS'",false)};this.e15l62_client=function(){this.executeServerEvent("'COPIAR PERFIL'",false)};this.e19l62_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e20l62_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,13,19,21,24,26,28,32,33,34,35,36,38];this.GXLastCtrlId=38;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh315",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");
this.Grid1Container.addComboBox("Grdtipmodulo",32,"vGRDTIPMODULO","Módulo","GrdTipModulo","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Grdcoddireito",33,"vGRDCODDIREITO","Direito","","GrdCodDireito","char",0,"px",7,7,"left",null,[],"Grdcoddireito","GrdCodDireito",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddscdireito",34,"vGRDDSCDIREITO","Descrição","","GrdDscDireito","char",0,"px",40,40,"left",null,[],"Grddscdireito","GrdDscDireito",true,0,false,false);
this.Grid1Container.addCheckBox("Grdindacessa",35,"vGRDINDACESSA","Acessa?","","GrdIndAcessa","char","S","N",null,true,false,0,"px");this.Grid1Container.addCheckBox("Grdindacessaanterior",36,"vGRDINDACESSAANTERIOR","Acessava","","GrdIndAcessaAnterior","char","S","N",null,false,false,0,"px");this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODOPERADORCOPIAR",gxz:"ZV17ScrCodOperadorCopiar",gxold:"OV17ScrCodOperadorCopiar",gxvar:"AV17ScrCodOperadorCopiar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17ScrCodOperadorCopiar=a
},v2z:function(a){gx.O.ZV17ScrCodOperadorCopiar=a},v2c:function(){gx.fn.setControlValue("vSCRCODOPERADORCOPIAR",gx.O.AV17ScrCodOperadorCopiar,0)},c2v:function(){gx.O.AV17ScrCodOperadorCopiar=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODOPERADORCOPIAR")},nac:function(){return false}};this.GXValidFnc[19]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[21]={fld:"TABLE2",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODOPERADOR",gxz:"ZV5ScrCodOperador",gxold:"OV5ScrCodOperador",gxvar:"AV5ScrCodOperador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ScrCodOperador=a
},v2z:function(a){gx.O.ZV5ScrCodOperador=a},v2c:function(){gx.fn.setControlValue("vSCRCODOPERADOR",gx.O.AV5ScrCodOperador,0)},c2v:function(){gx.O.AV5ScrCodOperador=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODOPERADOR")},nac:function(){return false}};this.GXValidFnc[28]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMOPERADOR",gxz:"ZV6ScrNomOperador",gxold:"OV6ScrNomOperador",gxvar:"AV6ScrNomOperador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6ScrNomOperador=a
},v2z:function(a){gx.O.ZV6ScrNomOperador=a},v2c:function(){gx.fn.setControlValue("vSCRNOMOPERADOR",gx.O.AV6ScrNomOperador,0)},c2v:function(){gx.O.AV6ScrNomOperador=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMOPERADOR")},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDTIPMODULO",gxz:"ZV11GrdTipModulo",gxold:"OV11GrdTipModulo",gxvar:"AV11GrdTipModulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV11GrdTipModulo=a
},v2z:function(a){gx.O.ZV11GrdTipModulo=a},v2c:function(){gx.fn.setGridComboBoxValue("vGRDTIPMODULO",gx.fn.currentGridRowImpl(31),gx.O.AV11GrdTipModulo)},c2v:function(){gx.O.AV11GrdTipModulo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPMODULO",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:7,dec:0,sign:false,ro:0,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODDIREITO",gxz:"ZV12GrdCodDireito",gxold:"OV12GrdCodDireito",gxvar:"AV12GrdCodDireito",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12GrdCodDireito=a
},v2z:function(a){gx.O.ZV12GrdCodDireito=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODDIREITO",gx.fn.currentGridRowImpl(31),gx.O.AV12GrdCodDireito,0)},c2v:function(){gx.O.AV12GrdCodDireito=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODDIREITO",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:0,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCDIREITO",gxz:"ZV13GrdDscDireito",gxold:"OV13GrdDscDireito",gxvar:"AV13GrdDscDireito",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13GrdDscDireito=a
},v2z:function(a){gx.O.ZV13GrdDscDireito=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCDIREITO",gx.fn.currentGridRowImpl(31),gx.O.AV13GrdDscDireito,0)},c2v:function(){gx.O.AV13GrdDscDireito=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCDIREITO",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDINDACESSA",gxz:"ZV14GrdIndAcessa",gxold:"OV14GrdIndAcessa",gxvar:"AV14GrdIndAcessa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV14GrdIndAcessa=a
},v2z:function(a){gx.O.ZV14GrdIndAcessa=a},v2c:function(){gx.fn.setGridCheckBoxValue("vGRDINDACESSA",gx.fn.currentGridRowImpl(31),gx.O.AV14GrdIndAcessa,"S")},c2v:function(){gx.O.AV14GrdIndAcessa=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vGRDINDACESSA",gx.fn.currentGridRowImpl(31),"S","N")},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDINDACESSAANTERIOR",gxz:"ZV15GrdIndAcessaAnterior",gxold:"OV15GrdIndAcessaAnterior",gxvar:"AV15GrdIndAcessaAnterior",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV15GrdIndAcessaAnterior=a
},v2z:function(a){gx.O.ZV15GrdIndAcessaAnterior=a},v2c:function(){gx.fn.setGridCheckBoxValue("vGRDINDACESSAANTERIOR",gx.fn.currentGridRowImpl(31),gx.O.AV15GrdIndAcessaAnterior,"S")},c2v:function(){gx.O.AV15GrdIndAcessaAnterior=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vGRDINDACESSAANTERIOR",gx.fn.currentGridRowImpl(31),"S","N")},nac:function(){return false}};this.GXValidFnc[38]={fld:"PROMPT_SCRCODOPERADORCOPIAR",grid:0};this.AV17ScrCodOperadorCopiar="";this.ZV17ScrCodOperadorCopiar="";
this.OV17ScrCodOperadorCopiar="";this.AV5ScrCodOperador="";this.ZV5ScrCodOperador="";this.OV5ScrCodOperador="";this.AV6ScrNomOperador="";this.ZV6ScrNomOperador="";this.OV6ScrNomOperador="";this.ZV11GrdTipModulo="";this.OV11GrdTipModulo="";this.ZV12GrdCodDireito="";this.OV12GrdCodDireito="";this.ZV13GrdDscDireito="";this.OV13GrdDscDireito="";this.ZV14GrdIndAcessa="";this.OV14GrdIndAcessa="";this.ZV15GrdIndAcessaAnterior="";this.OV15GrdIndAcessaAnterior="";this.AV7ParmCodOperador="";this.AV11GrdTipModulo="";
this.AV12GrdCodDireito="";this.AV13GrdDscDireito="";this.AV14GrdIndAcessa="";this.AV15GrdIndAcessaAnterior="";this.ServerEvents=["e11l62_client","e12l62_client","e13l62_client","e14l62_client","e15l62_client","e19l62_client","e20l62_client"];this.setPrompt("PROMPT_SCRCODOPERADORCOPIAR",[13]);this.VarControlMap.AV7ParmCodOperador={id:"vPARMCODOPERADOR",grid:0,type:"char"};this.VarControlMap.AV10SdtRolDireitosUsuario={id:"vSDTROLDIREITOSUSUARIO",grid:0,type:"CollSdtDireitosUsuario"};this.Grid1Container.addRefreshingVar({rfrVar:"AV10SdtRolDireitosUsuario"});
this.SetStandaloneVars()}himh315.prototype=new gx.GxObject;gx.setParentObj(new himh315());