gx.evt.autoSkip=false;function hmih061(){this.ServerClass="HMih061";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.s112_client=function(){if(this.AV48CodIdiomaLeitor=="ENG"){gx.fn.setCtrlProperty("TITULOPAG","Caption","Send e-mail to the library");gx.fn.setCtrlProperty("NOMEEMITENTE","Caption","Sender name");gx.fn.setCtrlProperty("MAIL","Caption","E-mail");gx.fn.setCtrlProperty("PARA","Caption","To");gx.fn.setCtrlProperty("ASSUNTO","Caption","Subject");
gx.fn.setCtrlProperty("TEXTO","Caption","Text")}else{gx.fn.setCtrlProperty("TITULOPAG","Caption","Enviar e-mail para a biblioteca");gx.fn.setCtrlProperty("NOMEEMITENTE","Caption","Nome emitente");gx.fn.setCtrlProperty("MAIL","Caption","E-mail");gx.fn.setCtrlProperty("PARA","Caption","Para");gx.fn.setCtrlProperty("ASSUNTO","Caption","Assunto");gx.fn.setCtrlProperty("TEXTO","Caption","Texto")}};this.e12702_client=function(){this.executeServerEvent("ENTER",true)};this.e14702_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,8,11,14,16,19,21,24,26,29,31,34];this.GXLastCtrlId=34;this.CTRL_VAR_TEXTOContainer=gx.uc.getNew(this,36,16,"CKEditorControl","CTRL_VAR_TEXTOContainer","Ctrl_var_texto");this.CTRL_VAR_TEXTOContainer.setProperty("Width","Width","800","str");this.CTRL_VAR_TEXTOContainer.setProperty("Height","Height","350","str");this.CTRL_VAR_TEXTOContainer.addV2CFunction(function(a){a.ParentObject.AV23Texto=gx.fn.getControlValue("vTEXTO");a.SetAttribute(a.ParentObject.AV23Texto)
});this.CTRL_VAR_TEXTOContainer.addC2VFunction(function(a){a.ParentObject.AV23Texto=a.GetAttribute();gx.fn.setControlValue("vTEXTO",a.ParentObject.AV23Texto)});this.CTRL_VAR_TEXTOContainer.setProperty("Skin","Skin","office2003","str");this.CTRL_VAR_TEXTOContainer.setProperty("Toolbar","Toolbar","Custom","str");this.CTRL_VAR_TEXTOContainer.setProperty("CustomToolbar","Customtoolbar","Custom","str");this.CTRL_VAR_TEXTOContainer.setProperty("CustomConfiguration","Customconfiguration","","str");this.CTRL_VAR_TEXTOContainer.setProperty("ToolbarCanCollapse","Toolbarcancollapse",true,"bool");
this.CTRL_VAR_TEXTOContainer.setProperty("ToolbarExpanded","Toolbarexpanded",true,"bool");this.CTRL_VAR_TEXTOContainer.setProperty("Color","Color",gx.color.fromRGB(211,211,211),"color");this.CTRL_VAR_TEXTOContainer.setProperty("ButtonPressedId","Buttonpressedid","","char");this.CTRL_VAR_TEXTOContainer.setProperty("InternalTitle","Coltitle","","char");this.CTRL_VAR_TEXTOContainer.setProperty("TitleFont","Coltitlefont","","char");this.CTRL_VAR_TEXTOContainer.setProperty("TitleForeColor","Coltitlecolor","","int");
this.CTRL_VAR_TEXTOContainer.setProperty("UserControlIsColumn","Usercontroliscolumn",false,"boolean");this.CTRL_VAR_TEXTOContainer.setProperty("Visible","Visible",true,"bool");this.CTRL_VAR_TEXTOContainer.setC2ShowFunction(function(a){a.show()});this.setUserControl(this.CTRL_VAR_TEXTOContainer);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"TITULOPAG",format:0,grid:0};this.GXValidFnc[11]={fld:"TABLE2",grid:0};this.GXValidFnc[14]={fld:"NOMEEMITENTE",format:0,grid:0};this.GXValidFnc[16]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMEMISSOR",gxz:"ZV21NomEmissor",gxold:"OV21NomEmissor",gxvar:"AV21NomEmissor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21NomEmissor=a
},v2z:function(a){gx.O.ZV21NomEmissor=a},v2c:function(){gx.fn.setControlValue("vNOMEMISSOR",gx.O.AV21NomEmissor,0)},c2v:function(){gx.O.AV21NomEmissor=this.val()},val:function(){return gx.fn.getControlValue("vNOMEMISSOR")},nac:function(){return false}};this.GXValidFnc[19]={fld:"MAIL",format:0,grid:0};this.GXValidFnc[21]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vENDEMISSOR",gxz:"ZV15EndEmissor",gxold:"OV15EndEmissor",gxvar:"AV15EndEmissor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15EndEmissor=a
},v2z:function(a){gx.O.ZV15EndEmissor=a},v2c:function(){gx.fn.setControlValue("vENDEMISSOR",gx.O.AV15EndEmissor,0)},c2v:function(){gx.O.AV15EndEmissor=this.val()},val:function(){return gx.fn.getControlValue("vENDEMISSOR")},nac:function(){return false}};this.GXValidFnc[24]={fld:"PARA",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vENDDESTINO",gxz:"ZV14EndDestino",gxold:"OV14EndDestino",gxvar:"AV14EndDestino",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV14EndDestino=a
},v2z:function(a){gx.O.ZV14EndDestino=a},v2c:function(){gx.fn.setComboBoxValue("vENDDESTINO",gx.O.AV14EndDestino)},c2v:function(){gx.O.AV14EndDestino=this.val()},val:function(){return gx.fn.getControlValue("vENDDESTINO")},nac:function(){return false}};this.GXValidFnc[29]={fld:"ASSUNTO",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSUNTO",gxz:"ZV11Assunto",gxold:"OV11Assunto",gxvar:"AV11Assunto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11Assunto=a
},v2z:function(a){gx.O.ZV11Assunto=a},v2c:function(){gx.fn.setControlValue("ASSUNTO",gx.O.AV11Assunto,0)},c2v:function(){gx.O.AV11Assunto=this.val()},val:function(){return gx.fn.getControlValue("ASSUNTO")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTO",format:0,grid:0};this.AV21NomEmissor="";this.ZV21NomEmissor="";this.OV21NomEmissor="";this.AV15EndEmissor="";this.ZV15EndEmissor="";this.OV15EndEmissor="";this.AV14EndDestino="";this.ZV14EndDestino="";this.OV14EndDestino="";this.AV11Assunto="";
this.ZV11Assunto="";this.OV11Assunto="";this.AV23Texto="";this.A787UsbCod="";this.A941UsbEndElet="";this.A922UndCod=0;this.A925UndNomComp="";this.A1004UndEndEmai="";this.A559ParCod=0;this.A567ParDesEndE="";this.A588ParNomRepo="";this.AV48CodIdiomaLeitor="";this.ServerEvents=["e12702_client","e14702_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}hmih061.prototype=new gx.GxObject;gx.setParentObj(new hmih061());