gx.evt.autoSkip=false;function himh306(){this.ServerClass="HImh306";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7ParmNroEnquete=gx.fn.getIntegerValue("vPARMNROENQUETE",".")};this.Valid_Eqtnrosequ=function(){try{var a=gx.util.balloon.getNew("EQTNROSEQU");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e11kp2_client=function(){this.executeServerEvent("'NOVO'",false)
};this.e15kp2_client=function(){this.executeServerEvent("'EDITAR'",true,arguments[0])};this.e16kp2_client=function(){this.executeServerEvent("'VALORES'",true,arguments[0])};this.e12kp2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e17kp2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e18kp2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,13,15,18,20,22,26,27,28,29,30,31];this.GXLastCtrlId=31;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",25,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh306",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Grdimdeditar","vGRDIMDEDITAR",26,0,"px",17,"px","e15kp2_client","","");this.Grid1Container.addSingleLineEdit(1138,27,"EQPNROSEQU","Nro.","","EqpNroSequ","int",0,"px",3,3,"right",null,[],1138,"EqpNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1139,28,"EQPDSCPERG","Pergunta","","EqpDscPerg","svchar",0,"px",400,400,"left",null,[],1139,"EqpDscPerg",true,0,false,false);
this.Grid1Container.addComboBox(1142,29,"EQPTIPAPRE","Tipo de apresentação","EqpTipApre","char",null,0,true,false,0,"px");this.Grid1Container.addComboBox(1141,30,"EQPINDSTAT","Status","EqpIndStat","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Grdlinkvalores",31,"vGRDLINKVALORES","","","GrdLinkValores","char",0,"px",20,20,"left","e16kp2_client",[],"Grdlinkvalores","GrdLinkValores",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};
this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Eqtnrosequ,isvalid:null,rgrid:[],fld:"EQTNROSEQU",gxz:"Z1130EqtNroSequ",gxold:"O1130EqtNroSequ",gxvar:"A1130EqtNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1130EqtNroSequ=gx.num.intval(a)},v2z:function(a){gx.O.Z1130EqtNroSequ=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("EQTNROSEQU",gx.O.A1130EqtNroSequ,0)},c2v:function(){gx.O.A1130EqtNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("EQTNROSEQU",".")},nac:function(){return false}};this.GXValidFnc[22]={lvl:0,type:"char",len:150,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EQTDSCTITU",gxz:"Z1132EqtDscTitu",gxold:"O1132EqtDscTitu",gxvar:"A1132EqtDscTitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1132EqtDscTitu=a},v2z:function(a){gx.O.Z1132EqtDscTitu=a
},v2c:function(){gx.fn.setControlValue("EQTDSCTITU",gx.O.A1132EqtDscTitu,0)},c2v:function(){gx.O.A1132EqtDscTitu=this.val()},val:function(){return gx.fn.getControlValue("EQTDSCTITU")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMDEDITAR",gxz:"ZV5GrdImdEditar",gxold:"OV5GrdImdEditar",gxvar:"AV5GrdImdEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5GrdImdEditar=a
},v2z:function(a){gx.O.ZV5GrdImdEditar=a},v2c:function(){},c2v:function(){gx.O.AV5GrdImdEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMDEDITAR",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EQPNROSEQU",gxz:"Z1138EqpNroSequ",gxold:"O1138EqpNroSequ",gxvar:"A1138EqpNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1138EqpNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1138EqpNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EQPNROSEQU",gx.fn.currentGridRowImpl(25),gx.O.A1138EqpNroSequ,0)},c2v:function(){gx.O.A1138EqpNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQPNROSEQU",gx.fn.currentGridRowImpl(25),".")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"svchar",len:400,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQPDSCPERG",gxz:"Z1139EqpDscPerg",gxold:"O1139EqpDscPerg",gxvar:"A1139EqpDscPerg",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1139EqpDscPerg=a
},v2z:function(a){gx.O.Z1139EqpDscPerg=a},v2c:function(){gx.fn.setGridControlValue("EQPDSCPERG",gx.fn.currentGridRowImpl(25),gx.O.A1139EqpDscPerg,0)},c2v:function(){gx.O.A1139EqpDscPerg=this.val()},val:function(){return gx.fn.getGridControlValue("EQPDSCPERG",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQPTIPAPRE",gxz:"Z1142EqpTipApre",gxold:"O1142EqpTipApre",gxvar:"A1142EqpTipApre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1142EqpTipApre=a
},v2z:function(a){gx.O.Z1142EqpTipApre=a},v2c:function(){gx.fn.setGridComboBoxValue("EQPTIPAPRE",gx.fn.currentGridRowImpl(25),gx.O.A1142EqpTipApre)},c2v:function(){gx.O.A1142EqpTipApre=this.val()},val:function(){return gx.fn.getGridControlValue("EQPTIPAPRE",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQPINDSTAT",gxz:"Z1141EqpIndStat",gxold:"O1141EqpIndStat",gxvar:"A1141EqpIndStat",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1141EqpIndStat=a
},v2z:function(a){gx.O.Z1141EqpIndStat=a},v2c:function(){gx.fn.setGridComboBoxValue("EQPINDSTAT",gx.fn.currentGridRowImpl(25),gx.O.A1141EqpIndStat)},c2v:function(){gx.O.A1141EqpIndStat=this.val()},val:function(){return gx.fn.getGridControlValue("EQPINDSTAT",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKVALORES",gxz:"ZV6GrdLinkValores",gxold:"OV6GrdLinkValores",gxvar:"AV6GrdLinkValores",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdLinkValores=a
},v2z:function(a){gx.O.ZV6GrdLinkValores=a},v2c:function(){gx.fn.setGridControlValue("vGRDLINKVALORES",gx.fn.currentGridRowImpl(25),gx.O.AV6GrdLinkValores,0)},c2v:function(){gx.O.AV6GrdLinkValores=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKVALORES",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.A1130EqtNroSequ=0;this.Z1130EqtNroSequ=0;this.O1130EqtNroSequ=0;this.A1132EqtDscTitu="";this.Z1132EqtDscTitu="";this.O1132EqtDscTitu="";this.ZV5GrdImdEditar="";
this.OV5GrdImdEditar="";this.Z1138EqpNroSequ=0;this.O1138EqpNroSequ=0;this.Z1139EqpDscPerg="";this.O1139EqpDscPerg="";this.Z1142EqpTipApre="";this.O1142EqpTipApre="";this.Z1141EqpIndStat="";this.O1141EqpIndStat="";this.ZV6GrdLinkValores="";this.OV6GrdLinkValores="";this.AV7ParmNroEnquete=0;this.AV5GrdImdEditar="";this.A1138EqpNroSequ=0;this.A1139EqpDscPerg="";this.A1142EqpTipApre="";this.A1141EqpIndStat="";this.AV6GrdLinkValores="";this.ServerEvents=["e11kp2_client","e15kp2_client","e16kp2_client","e12kp2_client","e17kp2_client","e18kp2_client"];
this.VarControlMap.AV7ParmNroEnquete={id:"vPARMNROENQUETE",grid:0,type:"int"};this.VarControlMap.AV7ParmNroEnquete={id:"vPARMNROENQUETE",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV7ParmNroEnquete"});this.SetStandaloneVars()}himh306.prototype=new gx.GxObject;gx.setParentObj(new himh306());