/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:36:3.6
*/
gx.evt.autoSkip=!1;gx.define("hteste4",!1,function(){var n,t;this.ServerClass="hteste4";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV22SdtRolTeste=gx.fn.getControlValue("vSDTROLTESTE")};this.e12cr2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15cr1_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[3,6,8,10,14,17,19,24,25];this.GXLastCtrlId=25;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",23,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hteste4",[],!1,1,!1,!0,0,!1,!1,!1,"CollSdtTemporarioGeral",0,"px",0,"px","Novo registro",!1,!1,!1,null,null,!1,"AV22SdtRolTeste",!1,[1,1,1,1],!1,0,!1,!1);t=this.Grid1Container;t.addSingleLineEdit("GXV2",24,"CTLVALCHAVE","ValChave","","ValChave","char",0,"px",35,35,"left",null,[],"GXV2","GXV2",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit("GXV3",25,"CTLVALDEMAISDADOS","ValDemaisDados","","ValDemaisDados","svchar",0,"px",200,80,"left",null,[],"GXV3","GXV3",!0,0,!1,!1,"Attribute",1,"");this.Grid1Container.emptyText="";this.setGrid(t);n[3]={id:3,fld:"TABLE1",grid:0};n[6]={id:6,fld:"BUTTON2",grid:0,evt:"e12cr2_client",std:"ENTER"};n[8]={id:8,fld:"BUTTON1",grid:0,evt:"e11cr2_client"};n[10]={id:10,fld:"BUTTON3",grid:0,evt:"e15cr1_client"};n[14]={id:14,fld:"TABLE2",grid:0};n[17]={id:17,fld:"TEXTBLOCK1",format:0,grid:0};n[19]={id:19,lvl:0,type:"char",len:100,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vROLTEXTOS",gxz:"ZV9RolTextos",gxold:"OV9RolTextos",gxvar:"AV9RolTextos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV9RolTextos=n)},v2z:function(n){n!==undefined&&(gx.O.ZV9RolTextos=n)},v2c:function(){gx.fn.setControlValue("vROLTEXTOS",gx.O.AV9RolTextos,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV9RolTextos=this.val())},val:function(){return gx.fn.getControlValue("vROLTEXTOS")},nac:gx.falseFn};n[24]={id:24,lvl:2,type:"char",len:35,dec:0,sign:!1,ro:1,isacc:0,grid:23,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"CTLVALCHAVE",gxz:"ZV26GXV2",gxold:"OV26GXV2",gxvar:"GXV2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.GXV2=n)},v2z:function(n){n!==undefined&&(gx.O.ZV26GXV2=n)},v2c:function(n){gx.fn.setGridControlValue("CTLVALCHAVE",n||gx.fn.currentGridRowImpl(23),gx.O.GXV2,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.GXV2=this.val(n))},val:function(n){return gx.fn.getGridControlValue("CTLVALCHAVE",n||gx.fn.currentGridRowImpl(23))},nac:gx.falseFn};n[25]={id:25,lvl:2,type:"svchar",len:200,dec:0,sign:!1,ro:1,isacc:0,grid:23,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"CTLVALDEMAISDADOS",gxz:"ZV27GXV3",gxold:"OV27GXV3",gxvar:"GXV3",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.GXV3=n)},v2z:function(n){n!==undefined&&(gx.O.ZV27GXV3=n)},v2c:function(n){gx.fn.setGridControlValue("CTLVALDEMAISDADOS",n||gx.fn.currentGridRowImpl(23),gx.O.GXV3,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.GXV3=this.val(n))},val:function(n){return gx.fn.getGridControlValue("CTLVALDEMAISDADOS",n||gx.fn.currentGridRowImpl(23))},nac:gx.falseFn};this.AV9RolTextos="";this.ZV9RolTextos="";this.OV9RolTextos="";this.ZV26GXV2="";this.OV26GXV2="";this.ZV27GXV3="";this.OV27GXV3="";this.AV9RolTextos="";this.GXV2="";this.GXV3="";this.AV22SdtRolTeste=[];this.Events={e12cr2_client:["ENTER",!0],e15cr1_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{av:"AV22SdtRolTeste",fld:"vSDTROLTESTE",grid:23,pic:""},{av:"nRC_GXsfl_23",ctrl:"GRID1",prop:"GridRC"}],[{av:"AV22SdtRolTeste",fld:"vSDTROLTESTE",grid:23,pic:""},{av:"GRID1_nFirstRecordOnPage"},{av:"nRC_GXsfl_23",ctrl:"GRID1",prop:"GridRC"}]];this.EvtParms.START=[[],[]];this.EvtParms.LOAD=[[],[]];this.EvtParms.ENTER=[[],[]];this.EnterCtrl=["BUTTON2"];this.setVCMap("AV22SdtRolTeste","vSDTROLTESTE",0,"CollSdtTemporarioGeral",0,0);this.setVCMap("AV22SdtRolTeste","vSDTROLTESTE",0,"CollSdtTemporarioGeral",0,0);t.addRefreshingVar({rfrVar:"AV22SdtRolTeste"});t.addRefreshingParm({rfrVar:"AV22SdtRolTeste"});this.addGridBCProperty("Sdtrolteste",["ValChave"],this.GXValidFnc[24],"AV22SdtRolTeste");this.addGridBCProperty("Sdtrolteste",["ValDemaisDados"],this.GXValidFnc[25],"AV22SdtRolTeste");this.Initialize()});gx.setParentObj(new hteste4)