gx.evt.autoSkip=false;function hmih104(){this.ServerClass="HMih104";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.Valid_Eqtnrosequ=function(){try{if(gx.fn.currentGridRowImpl(17)===0){return true}var a=gx.util.balloon.getNew("EQTNROSEQU",gx.fn.currentGridRowImpl(17));this.AnyError=0;this.StandaloneModal();this.StandaloneNotModal()}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Valid_Eqttipdisp=function(){try{if(gx.fn.currentGridRowImpl(17)===0){return true}var a=gx.util.balloon.getNew("EQTTIPDISP",gx.fn.currentGridRowImpl(17));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e12ks2_client=function(){this.executeServerEvent("'ENQUETE'",true)};this.e15ks2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e16ks2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];
this.GXCtrlIds=[2,9,11,18,19,20,21,22,23];this.GXLastCtrlId=23;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",17,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih104",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(1130,18,"EQTNROSEQU","Enquete","","EqtNroSequ","int",0,"px",6,6,"right",null,[],1130,"EqtNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1132,19,"EQTDSCTITU","Título","","EqtDscTitu","char",0,"px",150,150,"left","e12ks2_client",[],1132,"EqtDscTitu",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1133,20,"EQTDATINIC","Inicio","","EqtDatInic","date",0,"px",10,10,"right",null,[],1133,"EqtDatInic",true,0,false,false);this.Grid1Container.addSingleLineEdit(1134,21,"EQTDATFIMP","Fim","","EqtDatFimP","date",0,"px",10,10,"right",null,[],1134,"EqtDatFimP",true,0,false,false);this.Grid1Container.addComboBox(1157,22,"EQTTIPDISP","Tipo de disponibilização","EqtTipDisp","char",null,0,false,false,0,"px");this.Grid1Container.addComboBox(1156,23,"EQTTIPIDEN","Tipo de identificação","EqtTipIden","char",null,0,false,false,0,"px");
this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[9]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[11]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:17,gxgrid:this.Grid1Container,fnc:this.Valid_Eqtnrosequ,isvalid:null,rgrid:[],fld:"EQTNROSEQU",gxz:"Z1130EqtNroSequ",gxold:"O1130EqtNroSequ",gxvar:"A1130EqtNroSequ",ucs:[],op:[],ip:[18,22],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(17),gx.O.A1130EqtNroSequ,0)},c2v:function(){gx.O.A1130EqtNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQTNROSEQU",gx.fn.currentGridRowImpl(17),".")},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:150,dec:0,sign:false,ro:1,grid:17,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(17),gx.O.A1132EqtDscTitu,0)},c2v:function(){gx.O.A1132EqtDscTitu=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDSCTITU",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTDATINIC",gxz:"Z1133EqtDatInic",gxold:"O1133EqtDatInic",gxvar:"A1133EqtDatInic",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.A1133EqtDatInic=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1133EqtDatInic=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EQTDATINIC",gx.fn.currentGridRowImpl(17),gx.O.A1133EqtDatInic,0)},c2v:function(){gx.O.A1133EqtDatInic=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDATINIC",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTDATFIMP",gxz:"Z1134EqtDatFimP",gxold:"O1134EqtDatFimP",gxvar:"A1134EqtDatFimP",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.A1134EqtDatFimP=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1134EqtDatFimP=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EQTDATFIMP",gx.fn.currentGridRowImpl(17),gx.O.A1134EqtDatFimP,0)},c2v:function(){gx.O.A1134EqtDatFimP=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDATFIMP",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:this.Valid_Eqttipdisp,isvalid:null,fld:"EQTTIPDISP",gxz:"Z1157EqtTipDisp",gxold:"O1157EqtTipDisp",gxvar:"A1157EqtTipDisp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1157EqtTipDisp=a
},v2z:function(a){gx.O.Z1157EqtTipDisp=a},v2c:function(){gx.fn.setGridComboBoxValue("EQTTIPDISP",gx.fn.currentGridRowImpl(17),gx.O.A1157EqtTipDisp)},c2v:function(){gx.O.A1157EqtTipDisp=this.val()},val:function(){return gx.fn.getGridControlValue("EQTTIPDISP",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTTIPIDEN",gxz:"Z1156EqtTipIden",gxold:"O1156EqtTipIden",gxvar:"A1156EqtTipIden",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1156EqtTipIden=a
},v2z:function(a){gx.O.Z1156EqtTipIden=a},v2c:function(){gx.fn.setGridComboBoxValue("EQTTIPIDEN",gx.fn.currentGridRowImpl(17),gx.O.A1156EqtTipIden)},c2v:function(){gx.O.A1156EqtTipIden=this.val()},val:function(){return gx.fn.getGridControlValue("EQTTIPIDEN",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.Z1130EqtNroSequ=0;this.O1130EqtNroSequ=0;this.Z1132EqtDscTitu="";this.O1132EqtDscTitu="";this.Z1133EqtDatInic=gx.date.nullDate();this.O1133EqtDatInic=gx.date.nullDate();this.Z1134EqtDatFimP=gx.date.nullDate();
this.O1134EqtDatFimP=gx.date.nullDate();this.Z1157EqtTipDisp="";this.O1157EqtTipDisp="";this.Z1156EqtTipIden="";this.O1156EqtTipIden="";this.A1135EqtIndStat="";this.A1130EqtNroSequ=0;this.A1132EqtDscTitu="";this.A1133EqtDatInic=gx.date.nullDate();this.A1134EqtDatFimP=gx.date.nullDate();this.A1157EqtTipDisp="";this.A1156EqtTipIden="";this.ServerEvents=["e12ks2_client","e15ks2_client","e16ks2_client"];this.VarControlMap.AV5UsbCod={id:"vUSBCOD",grid:0,type:"char"};this.VarControlMap.AV7TiuCod={id:"vTIUCOD",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar({rfrVar:"AV5UsbCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV7TiuCod"});this.SetStandaloneVars()}hmih104.prototype=new gx.GxObject;gx.setParentObj(new hmih104());