gx.evt.autoSkip=false;function himh305(){this.ServerClass="HImh305";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e12ko2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e14ko2_client=function(){this.executeServerEvent("'EDITAR'",true,arguments[0])};this.e16ko2_client=function(){this.executeServerEvent("'PERGUNTAS'",true,arguments[0])};this.e17ko2_client=function(){this.executeServerEvent("'RESULTADO'",true,arguments[0])
};this.e18ko2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e19ko2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,11,14,15,16,17,18,19,20,21];this.GXLastCtrlId=21;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",13,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh305",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Grdimgeditar","vGRDIMGEDITAR",14,0,"px",17,"px","e14ko2_client","","");
this.Grid1Container.addSingleLineEdit(1130,15,"EQTNROSEQU","Enquete","","EqtNroSequ","int",0,"px",6,6,"right",null,[],1130,"EqtNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1132,16,"EQTDSCTITU","Título","","EqtDscTitu","char",0,"px",150,150,"left",null,[],1132,"EqtDscTitu",true,0,false,false);this.Grid1Container.addSingleLineEdit(1131,17,"EQTDATCRIA","Data de criação","","EqtDatCria","date",0,"px",10,10,"right",null,[],1131,"EqtDatCria",true,0,false,false);this.Grid1Container.addSingleLineEdit(968,18,"USUCOD","Operador","","UsuCod","char",0,"px",6,6,"left",null,[],968,"UsuCod",true,0,false,false);
this.Grid1Container.addComboBox(1135,19,"EQTINDSTAT","Status","EqtIndStat","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Grdlinkresultado",20,"vGRDLINKRESULTADO","","","GrdLinkResultado","char",0,"px",20,20,"left","e17ko2_client",[],"Grdlinkresultado","GrdLinkResultado",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdlinkperguntas",21,"vGRDLINKPERGUNTAS","","","GrdLinkPerguntas","char",0,"px",20,20,"left","e16ko2_client",[],"Grdlinkperguntas","GrdLinkPerguntas",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[14]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGEDITAR",gxz:"ZV5GrdImgEditar",gxold:"OV5GrdImgEditar",gxvar:"AV5GrdImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5GrdImgEditar=a},v2z:function(a){gx.O.ZV5GrdImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV5GrdImgEditar=this.val()
},val:function(){return gx.fn.getGridControlValue("vGRDIMGEDITAR",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[15]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,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.setGridControlValue("EQTNROSEQU",gx.fn.currentGridRowImpl(13),gx.O.A1130EqtNroSequ,0)},c2v:function(){gx.O.A1130EqtNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQTNROSEQU",gx.fn.currentGridRowImpl(13),".")},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"char",len:150,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,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.setGridControlValue("EQTDSCTITU",gx.fn.currentGridRowImpl(13),gx.O.A1132EqtDscTitu,0)},c2v:function(){gx.O.A1132EqtDscTitu=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDSCTITU",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTDATCRIA",gxz:"Z1131EqtDatCria",gxold:"O1131EqtDatCria",gxvar:"A1131EqtDatCria",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1131EqtDatCria=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1131EqtDatCria=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EQTDATCRIA",gx.fn.currentGridRowImpl(13),gx.O.A1131EqtDatCria,0)},c2v:function(){gx.O.A1131EqtDatCria=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDATCRIA",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUCOD",gxz:"Z968UsuCod",gxold:"O968UsuCod",gxvar:"A968UsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A968UsuCod=a
},v2z:function(a){gx.O.Z968UsuCod=a},v2c:function(){gx.fn.setGridControlValue("USUCOD",gx.fn.currentGridRowImpl(13),gx.O.A968UsuCod,0)},c2v:function(){gx.O.A968UsuCod=this.val()},val:function(){return gx.fn.getGridControlValue("USUCOD",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTINDSTAT",gxz:"Z1135EqtIndStat",gxold:"O1135EqtIndStat",gxvar:"A1135EqtIndStat",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1135EqtIndStat=a
},v2z:function(a){gx.O.Z1135EqtIndStat=a},v2c:function(){gx.fn.setGridComboBoxValue("EQTINDSTAT",gx.fn.currentGridRowImpl(13),gx.O.A1135EqtIndStat)},c2v:function(){gx.O.A1135EqtIndStat=this.val()},val:function(){return gx.fn.getGridControlValue("EQTINDSTAT",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKRESULTADO",gxz:"ZV7GrdLinkResultado",gxold:"OV7GrdLinkResultado",gxvar:"AV7GrdLinkResultado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7GrdLinkResultado=a
},v2z:function(a){gx.O.ZV7GrdLinkResultado=a},v2c:function(){gx.fn.setGridControlValue("vGRDLINKRESULTADO",gx.fn.currentGridRowImpl(13),gx.O.AV7GrdLinkResultado,0)},c2v:function(){gx.O.AV7GrdLinkResultado=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKRESULTADO",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKPERGUNTAS",gxz:"ZV6GrdLinkPerguntas",gxold:"OV6GrdLinkPerguntas",gxvar:"AV6GrdLinkPerguntas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdLinkPerguntas=a
},v2z:function(a){gx.O.ZV6GrdLinkPerguntas=a},v2c:function(){gx.fn.setGridControlValue("vGRDLINKPERGUNTAS",gx.fn.currentGridRowImpl(13),gx.O.AV6GrdLinkPerguntas,0)},c2v:function(){gx.O.AV6GrdLinkPerguntas=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKPERGUNTAS",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.ZV5GrdImgEditar="";this.OV5GrdImgEditar="";this.Z1130EqtNroSequ=0;this.O1130EqtNroSequ=0;this.Z1132EqtDscTitu="";this.O1132EqtDscTitu="";this.Z1131EqtDatCria=gx.date.nullDate();
this.O1131EqtDatCria=gx.date.nullDate();this.Z968UsuCod="";this.O968UsuCod="";this.Z1135EqtIndStat="";this.O1135EqtIndStat="";this.ZV7GrdLinkResultado="";this.OV7GrdLinkResultado="";this.ZV6GrdLinkPerguntas="";this.OV6GrdLinkPerguntas="";this.AV5GrdImgEditar="";this.A1130EqtNroSequ=0;this.A1132EqtDscTitu="";this.A1131EqtDatCria=gx.date.nullDate();this.A968UsuCod="";this.A1135EqtIndStat="";this.AV7GrdLinkResultado="";this.AV6GrdLinkPerguntas="";this.ServerEvents=["e12ko2_client","e14ko2_client","e16ko2_client","e17ko2_client","e18ko2_client","e19ko2_client"];
this.SetStandaloneVars()}himh305.prototype=new gx.GxObject;gx.setParentObj(new himh305());