gx.evt.autoSkip=false;function hzforne(){this.ServerClass="HZForne";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5ForCod=gx.fn.getIntegerValue("vFORCOD",".")};this.Valid_Fornomcomp=function(){try{if(gx.fn.currentGridRowImpl(25)===0){return true}var a=gx.util.balloon.getNew("FORNOMCOMP",gx.fn.currentGridRowImpl(25));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e140u2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e120u2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e160u1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,26,27,28,29,30];this.GXLastCtrlId=30;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",25,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzforne",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(442,26,"FORNOMABRE","Nome abreviado","","ForNomAbre","char",105,"px",15,15,"left",null,[],442,"ForNomAbre",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(433,27,"FORCOD","Código","","ForCod","int",0,"px",6,6,"right",null,[],433,"ForCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(444,28,"FORNOMCOMP","Nome","","ForNomComp","char",0,"px",60,60,"left",null,[],444,"ForNomComp",true,0,false,false);this.Subfile1Container.addSingleLineEdit(449,29,"FORNROFONE","Fone","","ForNroFone","char",0,"px",16,16,"left",null,[],449,"ForNroFone",true,0,false,false);this.Subfile1Container.addSingleLineEdit(436,30,"FORDESCIDA","Cidade","","ForDesCida","char",0,"px",25,25,"left",null,[],436,"ForDesCida",true,0,false,false);
this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE2",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMECONTENDO",gxz:"ZV14NomeContendo",gxold:"OV14NomeContendo",gxvar:"AV14NomeContendo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14NomeContendo=a
},v2z:function(a){gx.O.ZV14NomeContendo=a},v2c:function(){gx.fn.setControlValue("vNOMECONTENDO",gx.O.AV14NomeContendo,0)},c2v:function(){gx.O.AV14NomeContendo=this.val()},val:function(){return gx.fn.getControlValue("vNOMECONTENDO")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"FORNOMABRE",gxz:"Z442ForNomAbre",gxold:"O442ForNomAbre",gxvar:"A442ForNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A442ForNomAbre=a
},v2z:function(a){gx.O.Z442ForNomAbre=a},v2c:function(){gx.fn.setGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(25),gx.O.A442ForNomAbre,0)},c2v:function(){gx.O.A442ForNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:25,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A433ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z433ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("FORCOD",gx.fn.currentGridRowImpl(25),gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FORCOD",gx.fn.currentGridRowImpl(25),".")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:60,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Subfile1Container,fnc:this.Valid_Fornomcomp,isvalid:null,fld:"FORNOMCOMP",gxz:"Z444ForNomComp",gxold:"O444ForNomComp",gxvar:"A444ForNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A444ForNomComp=a
},v2z:function(a){gx.O.Z444ForNomComp=a},v2c:function(){gx.fn.setGridControlValue("FORNOMCOMP",gx.fn.currentGridRowImpl(25),gx.O.A444ForNomComp,0)},c2v:function(){gx.O.A444ForNomComp=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMCOMP",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:16,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"FORNROFONE",gxz:"Z449ForNroFone",gxold:"O449ForNroFone",gxvar:"A449ForNroFone",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A449ForNroFone=a
},v2z:function(a){gx.O.Z449ForNroFone=a},v2c:function(){gx.fn.setGridControlValue("FORNROFONE",gx.fn.currentGridRowImpl(25),gx.O.A449ForNroFone,0)},c2v:function(){gx.O.A449ForNroFone=this.val()},val:function(){return gx.fn.getGridControlValue("FORNROFONE",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"FORDESCIDA",gxz:"Z436ForDesCida",gxold:"O436ForDesCida",gxvar:"A436ForDesCida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A436ForDesCida=a
},v2z:function(a){gx.O.Z436ForDesCida=a},v2c:function(){gx.fn.setGridControlValue("FORDESCIDA",gx.fn.currentGridRowImpl(25),gx.O.A436ForDesCida,0)},c2v:function(){gx.O.A436ForDesCida=this.val()},val:function(){return gx.fn.getGridControlValue("FORDESCIDA",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.AV14NomeContendo="";this.ZV14NomeContendo="";this.OV14NomeContendo="";this.Z442ForNomAbre="";this.O442ForNomAbre="";this.Z433ForCod=0;this.O433ForCod=0;this.Z444ForNomComp="";this.O444ForNomComp="";
this.Z449ForNroFone="";this.O449ForNroFone="";this.Z436ForDesCida="";this.O436ForDesCida="";this.AV5ForCod=0;this.A442ForNomAbre="";this.A433ForCod=0;this.A444ForNomComp="";this.A449ForNroFone="";this.A436ForDesCida="";this.ServerEvents=["e140u2_client","e120u2_client","e160u1_client"];this.VarControlMap.AV5ForCod={id:"vFORCOD",grid:0,type:"int"};this.VarControlMap.AV15CharDB={id:"vCHARDB",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[22]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV15CharDB"});
this.SetStandaloneVars()}hzforne.prototype=new gx.GxObject;gx.setParentObj(new hzforne());