gx.evt.autoSkip=false;function hzidioma(){this.ServerClass="HZIdioma";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV15IdiCod=gx.fn.getControlValue("vIDICOD")};this.Valid_Idides=function(){try{if(gx.fn.currentGridRowImpl(26)===0){return true}var a=gx.util.balloon.getNew("IDIDES",gx.fn.currentGridRowImpl(26));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e121g2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e151g1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,18,21,23,27,28,29];this.GXLastCtrlId=29;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzidioma",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(480,27,"IDICOD","Idioma","","IdiCod","char",0,"px",3,3,"left",null,[],480,"IdiCod",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(482,28,"IDIDES","Descrição","","IdiDes","char",0,"px",30,30,"left",null,[],482,"IdiDes",true,0,false,false);this.Subfile1Container.addSingleLineEdit(481,29,"IDICODMARC","Marc","","IdiCodMarc","char",0,"px",3,3,"left",null,[],481,"IdiCodMarc",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[18]={fld:"TABLE2",grid:0};
this.GXValidFnc[21]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMECONTENDO",gxz:"ZV19NomeContendo",gxold:"OV19NomeContendo",gxvar:"AV19NomeContendo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19NomeContendo=a},v2z:function(a){gx.O.ZV19NomeContendo=a},v2c:function(){gx.fn.setControlValue("vNOMECONTENDO",gx.O.AV19NomeContendo,0)},c2v:function(){gx.O.AV19NomeContendo=this.val()
},val:function(){return gx.fn.getControlValue("vNOMECONTENDO")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"IDICOD",gxz:"Z480IdiCod",gxold:"O480IdiCod",gxvar:"A480IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A480IdiCod=a},v2z:function(a){gx.O.Z480IdiCod=a},v2c:function(){gx.fn.setGridControlValue("IDICOD",gx.fn.currentGridRowImpl(26),gx.O.A480IdiCod,0)
},c2v:function(){gx.O.A480IdiCod=this.val()},val:function(){return gx.fn.getGridControlValue("IDICOD",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:this.Valid_Idides,isvalid:null,fld:"IDIDES",gxz:"Z482IdiDes",gxold:"O482IdiDes",gxvar:"A482IdiDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A482IdiDes=a},v2z:function(a){gx.O.Z482IdiDes=a},v2c:function(){gx.fn.setGridControlValue("IDIDES",gx.fn.currentGridRowImpl(26),gx.O.A482IdiDes,0)
},c2v:function(){gx.O.A482IdiDes=this.val()},val:function(){return gx.fn.getGridControlValue("IDIDES",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"IDICODMARC",gxz:"Z481IdiCodMarc",gxold:"O481IdiCodMarc",gxvar:"A481IdiCodMarc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A481IdiCodMarc=a},v2z:function(a){gx.O.Z481IdiCodMarc=a},v2c:function(){gx.fn.setGridControlValue("IDICODMARC",gx.fn.currentGridRowImpl(26),gx.O.A481IdiCodMarc,0)
},c2v:function(){gx.O.A481IdiCodMarc=this.val()},val:function(){return gx.fn.getGridControlValue("IDICODMARC",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.AV19NomeContendo="";this.ZV19NomeContendo="";this.OV19NomeContendo="";this.Z480IdiCod="";this.O480IdiCod="";this.Z482IdiDes="";this.O482IdiDes="";this.Z481IdiCodMarc="";this.O481IdiCodMarc="";this.AV15IdiCod="";this.A480IdiCod="";this.A482IdiDes="";this.A481IdiCodMarc="";this.ServerEvents=["e121g2_client","e151g1_client"];this.VarControlMap.AV15IdiCod={id:"vIDICOD",grid:0,type:"char"};
this.Subfile1Container.addRefreshingVar(this.GXValidFnc[23]);this.SetStandaloneVars()}hzidioma.prototype=new gx.GxObject;gx.setParentObj(new hzidioma());