gx.evt.autoSkip=false;function hteste6(){this.ServerClass="HTeste6";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e138l1_client=function(){this.clearMessages();this.addMessage("Função desativada");this.refreshOutputs([])};this.e148l1_client=function(){this.executeServerEvent("ENTER",true)};this.e158l2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,22,23];this.GXLastCtrlId=23;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hteste6",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Idicod",22,"vIDICOD","Idioma","","IdiCod","char",0,"px",3,3,"left",null,[],"Idicod","IdiCod",true,0,false,false);this.Grid1Container.addSingleLineEdit("Idides",23,"vIDIDES","Descrição","","IdiDes","char",0,"px",30,30,"left",null,[],"Idides","IdiDes",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[22]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIDICOD",gxz:"ZV20IdiCod",gxold:"OV20IdiCod",gxvar:"AV20IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20IdiCod=a},v2z:function(a){gx.O.ZV20IdiCod=a},v2c:function(){gx.fn.setGridControlValue("vIDICOD",gx.fn.currentGridRowImpl(21),gx.O.AV20IdiCod,0)
},c2v:function(){gx.O.AV20IdiCod=this.val()},val:function(){return gx.fn.getGridControlValue("vIDICOD",gx.fn.currentGridRowImpl(21))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIDIDES",gxz:"ZV21IdiDes",gxold:"OV21IdiDes",gxvar:"AV21IdiDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21IdiDes=a},v2z:function(a){gx.O.ZV21IdiDes=a},v2c:function(){gx.fn.setGridControlValue("vIDIDES",gx.fn.currentGridRowImpl(21),gx.O.AV21IdiDes,0)
},c2v:function(){gx.O.AV21IdiDes=this.val()},val:function(){return gx.fn.getGridControlValue("vIDIDES",gx.fn.currentGridRowImpl(21))},nac:function(){return false}};this.ZV20IdiCod="";this.OV20IdiCod="";this.ZV21IdiDes="";this.OV21IdiDes="";this.AV20IdiCod="";this.AV21IdiDes="";this.A482IdiDes="";this.A480IdiCod="";this.ServerEvents=["e148l1_client","e158l2_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.A480IdiCod={id:"IDICOD",grid:0,type:"char"};this.VarControlMap.A482IdiDes={id:"IDIDES",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar({rfrVar:"A480IdiCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A482IdiDes"});this.SetStandaloneVars()}hteste6.prototype=new gx.GxObject;gx.setParentObj(new hteste6());