gx.evt.autoSkip=false;function timt028(){this.ServerClass="TImt028";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A1091CarValText=gx.fn.getControlValue("CARVALTEXT");this.A87CarUltSeq=gx.fn.getIntegerValue("CARULTSEQ",".");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Carnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Carnro",["gx.O.A86CarNro","gx.O.A85CarNom","gx.O.A87CarUltSeq","gx.O.A1091CarValText"],["A85CarNom","A87CarUltSeq","A1091CarValText","Gx_mode","Z86CarNro","Z85CarNom","Z87CarUltSeq","Z1091CarValText",["BUTTON1","Enabled"]]);
return true};this.Valid_Carnom=function(){try{var a=gx.util.balloon.getNew("CARNOM");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e123q2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e133q2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e143q2_client=function(){this.executeServerEvent("'APLICAR'",false)};this.e153q21_client=function(){this.executeServerEvent("ENTER",true)};this.e163q21_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,16,18,21,23,26,31,33,36];this.GXLastCtrlId=36;this.CTRLCARVALTEXTOContainer=gx.uc.getNew(this,38,26,"CKEditorControl","CTRLCARVALTEXTOContainer","Ctrlcarvaltexto");this.CTRLCARVALTEXTOContainer.setProperty("Width","Width","800","str");this.CTRLCARVALTEXTOContainer.setProperty("Height","Height","350","str");this.CTRLCARVALTEXTOContainer.addV2CFunction(function(a){a.ParentObject.A1091CarValText=gx.fn.getControlValue("CARVALTEXT");a.SetAttribute(a.ParentObject.A1091CarValText)
});this.CTRLCARVALTEXTOContainer.addC2VFunction(function(a){a.ParentObject.A1091CarValText=a.GetAttribute();gx.fn.setControlValue("CARVALTEXT",a.ParentObject.A1091CarValText)});this.CTRLCARVALTEXTOContainer.addValidFunction(this.Valid_Carvaltext,"A1091CarValText","CARVALTEXT");this.CTRLCARVALTEXTOContainer.setProperty("Skin","Skin","office2003","str");this.CTRLCARVALTEXTOContainer.setProperty("Toolbar","Toolbar","Custom","str");this.CTRLCARVALTEXTOContainer.setProperty("CustomToolbar","Customtoolbar","Custom","str");
this.CTRLCARVALTEXTOContainer.setProperty("CustomConfiguration","Customconfiguration","","str");this.CTRLCARVALTEXTOContainer.setProperty("ToolbarCanCollapse","Toolbarcancollapse",false,"bool");this.CTRLCARVALTEXTOContainer.setProperty("ToolbarExpanded","Toolbarexpanded",true,"bool");this.CTRLCARVALTEXTOContainer.setProperty("Color","Color",gx.color.fromRGB(211,211,211),"color");this.CTRLCARVALTEXTOContainer.setProperty("ButtonPressedId","Buttonpressedid","","char");this.CTRLCARVALTEXTOContainer.setProperty("InternalTitle","Coltitle","","char");
this.CTRLCARVALTEXTOContainer.setProperty("TitleFont","Coltitlefont","","char");this.CTRLCARVALTEXTOContainer.setProperty("TitleForeColor","Coltitlecolor","","int");this.CTRLCARVALTEXTOContainer.setProperty("UserControlIsColumn","Usercontroliscolumn",false,"boolean");this.CTRLCARVALTEXTOContainer.setProperty("Visible","Visible",true,"bool");this.CTRLCARVALTEXTOContainer.setC2ShowFunction(function(a){a.show()});this.setUserControl(this.CTRLCARVALTEXTOContainer);this.GXValidFnc[3]={fld:"TABLE1",grid:0};
this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[18]={fld:"TABLE2",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[26]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Carnro,isvalid:null,rgrid:[],fld:"CARNRO",gxz:"Z86CarNro",gxold:"O86CarNro",gxvar:"A86CarNro",ucs:[38],op:[33],ip:[33,26],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A86CarNro=gx.num.intval(a)},v2z:function(a){gx.O.Z86CarNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("CARNRO",gx.O.A86CarNro,0)},c2v:function(){gx.O.A86CarNro=this.val()},val:function(){return gx.fn.getIntegerValue("CARNRO",".")},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[33]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Carnom,isvalid:null,fld:"CARNOM",gxz:"Z85CarNom",gxold:"O85CarNom",gxvar:"A85CarNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A85CarNom=a
},v2z:function(a){gx.O.Z85CarNom=a},v2c:function(){gx.fn.setControlValue("CARNOM",gx.O.A85CarNom,0)},c2v:function(){gx.O.A85CarNom=this.val()},val:function(){return gx.fn.getControlValue("CARNOM")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCK4",format:0,grid:0};this.A86CarNro=0;this.Z86CarNro=0;this.O86CarNro=0;this.A85CarNom="";this.Z85CarNom="";this.O85CarNom="";this.AV7UsuCodCorr="";this.A87CarUltSeq=0;this.A1091CarValText="";this.ServerEvents=["e123q2_client","e133q2_client","e143q2_client","e153q21_client","e163q21_client"];
this.EnterCtrl=["BUTTON1"];this.VarControlMap.A1091CarValText={id:"CARVALTEXT",grid:0,type:"vchar"};this.VarControlMap.A87CarUltSeq={id:"CARULTSEQ",grid:0,type:"int"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt028.prototype=new gx.GxObject;gx.setParentObj(new timt028());