gxaddKeyListener( "RFR" , 5 );
{gxsetDateFormat( "DMY" );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
Gx_BScreen = 1 ;
this.hwcdespformularioSetStandaloneVars=function()
{
   Gx_date=GXgetDateValue("_TODAY") ;
   A33ParCod=GXgetControlValue("PARCOD") ;
   A34ParValo=GXgetControlValue("PARVALOR") ;
   A16FormGen=GXgetIntegerValue("FORMGENID") ;
   A2FormId=GXgetIntegerValue("FORMID") ;
   A47FormAsu=GXgetControlValue("FORMASUNTOMAIL") ;
   A5FormText=GXgetControlValue("FORMTEXTO") ;
   A50FormTit=GXgetControlValue("FORMTITULO") ;
   A51FormSep=GXgetIntegerValue("FORMSEPH") ;
   A52FormSep=GXgetIntegerValue("FORMSEPV") ;
   A17FormGen=GXgetDateValue("FORMGENFECHA") ;
   A18FormGen=GXgetControlValue("FORMGENIP") ;
   A4FormMail=GXgetControlValue("FORMMAIL") ;
   A54FormBtn=GXgetControlValue("FORMBTNENVIAR") ;
   A55FormBtn=GXgetControlValue("FORMBTNRESET") ;
   A9CampoObl=GXgetIntegerValue("CAMPOOBLIGATORIO") ;
   A6CampoId=GXgetIntegerValue("CAMPOID") ;
   A10CampoOr=GXgetIntegerValue("CAMPOORDEN") ;
   A53CampoTe=GXgetControlValue("CAMPOTEXTOERROR") ;
   A41NroMaxi=GXgetIntegerValue("NROMAXIMO") ;
   A31CampoDe=GXgetControlValue("CAMPODESC") ;
   A8CampoTip=GXgetIntegerValue("CAMPOTIPO") ;
   A7CampoNom=GXgetControlValue("CAMPONOM") ;
   A46Tooltip=GXgetControlValue("TOOLTIPTEXT") ;
   A15ValorDe=GXgetControlValue("VALORDESC") ;
   A24ValorId=GXgetIntegerValue("VALORID") ;
   A45ValorDe=GXgetIntegerValue("VALORDEFECTO") ;
   A20CampoTe=GXgetIntegerValue("CAMPOTEXTOID") ;
   A19FormGen=GXgetControlValue("FORMGENVALORTEXTO") ;
   A21CampoMe=GXgetIntegerValue("CAMPOMEMOID") ;
   A14FormGen=GXgetControlValue("FORMGENVALORMEMO") ;
   A23CampoNu=GXgetIntegerValue("CAMPONUMID") ;
   A13FormGen=GXgetControlValue("FORMGENVALORNUM") ;
   A25CampoFe=GXgetIntegerValue("CAMPOFECHAID") ;
   A26FormGen=GXgetDateValue("FORMGENVALORFECHA") ;
   A22CampoCo=GXgetIntegerValue("CAMPOCOMBOID") ;
   A48CampoCh=GXgetIntegerValue("CAMPOCHKID") ;
   A49Valor=GXgetIntegerValue("VALOR") ;
   A56CampoBl=GXgetIntegerValue("CAMPOBLOBID") ;
   A64FormGen=GXgetControlValue("FORMGENNOMBLOB") ;
   A65FormGen=GXgetControlValue("FORMGENEXTBLOB") ;
   A57FormGen=GXgetControlValue("FORMGENVALORBLOB") ;
   Gx_BScreen = 0 ;
}
this.hwcdespformularioValidv_Formid=function()
{
   try {
      gxballoon = getGXBallon("_FORMID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hwcdespformularioValidv_Formgenid=function()
{
   try {
      gxballoon = getGXBallon("_FORMGENID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hwcdespformularioStandaloneModal=function()
{
}
this.hwcdespformulariowcdespformulario=function()
{
}
this.hwcdespformularioinit=function()
{
}
hwcdespformularioGXValidFnc = new Array();
this.hwcdespformularioGXLastCtrlId =63;
hwcdespformularioGXValidFnc[12]={lvl:0,grid:0,fnc:null,fld:"_FORMID",gxvar:"AV20FormId",op:[],ip:[],v2v:function(Value){AV20FormId=Value},v2c:function(){GXsetControlValue("_FORMID",AV20FormId,0)},c2v:function(){AV20FormId=GXgetIntegerValue("_FORMID")}};
hwcdespformularioGXValidFnc[13]={lvl:0,grid:0,fnc:null,fld:"_LARGOMAXIMO",gxvar:"AV23LargoM",op:[],ip:[],v2v:function(Value){AV23LargoM=Value},v2c:function(){GXsetControlValue("_LARGOMAXIMO",AV23LargoM,0)},c2v:function(){AV23LargoM=GXgetIntegerValue("_LARGOMAXIMO")}};
hwcdespformularioGXValidFnc[14]={lvl:0,grid:0,fnc:null,fld:"_FORMGENID",gxvar:"AV28FormGe",op:[],ip:[],v2v:function(Value){AV28FormGe=Value},v2c:function(){GXsetControlValue("_FORMGENID",AV28FormGe,0)},c2v:function(){AV28FormGe=GXgetIntegerValue("_FORMGENID")}};
hwcdespformularioGXValidFnc[15]={lvl:0,grid:0,fnc:null,fld:"_PARAMAIL",gxvar:"AV38ParaMa",op:[],ip:[],v2v:function(Value){AV38ParaMa=Value},v2c:function(){GXsetControlValue("_PARAMAIL",AV38ParaMa,0)},c2v:function(){AV38ParaMa=GXgetIntegerValue("_PARAMAIL")}};
hwcdespformularioGXValidFnc[22]={lvl:2,grid:27,fnc:null,fld:"_CAMPOID",gxvar:"AV16CampoI",op:[],ip:[],v2v:function(Value){AV16CampoI=Value},v2c:function(){GXsetGridControlValue("_CAMPOID",GXCurrentRow[27],AV16CampoI,0)},c2v:function(){AV16CampoI = GXgetGridIntegerValue("_CAMPOID",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[23]={lvl:2,grid:27,fnc:null,fld:"_CAMPONOMBRE",gxvar:"AV22CampoN",op:[],ip:[],v2v:function(Value){AV22CampoN=Value},v2c:function(){GXsetGridControlValue("_CAMPONOMBRE",GXCurrentRow[27],AV22CampoN,0)},c2v:function(){AV22CampoN = GXgetGridControlValue("_CAMPONOMBRE",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[24]={lvl:2,grid:27,fnc:null,fld:"_CAMPOOBLIGATORIO",gxvar:"AV17CampoO",op:[],ip:[],v2v:function(Value){AV17CampoO=Value},v2c:function(){GXsetGridControlValue("_CAMPOOBLIGATORIO",GXCurrentRow[27],AV17CampoO,0)},c2v:function(){AV17CampoO = GXgetGridIntegerValue("_CAMPOOBLIGATORIO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[25]={lvl:2,grid:27,fnc:null,fld:"_TIPODELCAMPO",gxvar:"AV18TipoDe",op:[],ip:[],v2v:function(Value){AV18TipoDe=Value},v2c:function(){GXsetGridControlValue("_TIPODELCAMPO",GXCurrentRow[27],AV18TipoDe,0)},c2v:function(){AV18TipoDe = GXgetGridIntegerValue("_TIPODELCAMPO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[26]={lvl:2,grid:27,fnc:null,fld:"_ORDENDELCAMPO",gxvar:"AV88OrdenD",op:[],ip:[],v2v:function(Value){AV88OrdenD=Value},v2c:function(){GXsetGridControlValue("_ORDENDELCAMPO",GXCurrentRow[27],AV88OrdenD,0)},c2v:function(){AV88OrdenD = GXgetGridIntegerValue("_ORDENDELCAMPO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[31]={lvl:2,grid:27,fnc:null,fld:"_CAMPODESC",gxvar:"AV61CampoD",op:[],ip:[],v2v:function(Value){AV61CampoD=Value},v2c:function(){GXsetGridControlValue("_CAMPODESC",GXCurrentRow[27],AV61CampoD,1)},c2v:function(){AV61CampoD = GXgetGridControlValue("_CAMPODESC",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[33]={lvl:2,grid:27,fnc:null,fld:"_CAMPOSSEPARA",gxvar:"AV86Campos",op:[],ip:[],v2v:function(Value){AV86Campos=Value},v2c:function(){GXsetGridControlValue("_CAMPOSSEPARA",GXCurrentRow[27],AV86Campos,0)},c2v:function(){AV86Campos = GXgetGridControlValue("_CAMPOSSEPARA",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[35]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_TEXO",gxvar:"AV6Var_For",op:[],ip:[],v2v:function(Value){AV6Var_For=Value},v2c:function(){GXsetGridControlValue("_VAR_FORM_TEXO",GXCurrentRow[27],AV6Var_For,0)},c2v:function(){AV6Var_For = GXgetGridControlValue("_VAR_FORM_TEXO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[36]={lvl:2,grid:27,fnc:null,fld:"_IMG",gxvar:"AV36Img",op:[],ip:[],v2v:function(Value){AV36Img=Value},v2c:function(){GXsetGridControlValue("_IMG",GXCurrentRow[27],AV36Img,0)},c2v:function(){AV36Img = GXgetGridControlValue("_IMG",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[37]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_MEMO",gxvar:"AV7Var_For",op:[],ip:[],v2v:function(Value){AV7Var_For=Value},v2c:function(){GXsetGridControlValue("_VAR_FORM_MEMO",GXCurrentRow[27],AV7Var_For,0)},c2v:function(){AV7Var_For = GXgetGridControlValue("_VAR_FORM_MEMO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[38]={lvl:2,grid:27,fnc:null,fld:"_IMG1",gxvar:"AV40Img1",op:[],ip:[],v2v:function(Value){AV40Img1=Value},v2c:function(){GXsetGridControlValue("_IMG1",GXCurrentRow[27],AV40Img1,0)},c2v:function(){AV40Img1 = GXgetGridControlValue("_IMG1",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[39]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_NUMERO",gxvar:"AV8Var_For",op:[],ip:[],v2v:function(Value){AV8Var_For=Value},v2c:function(){GXsetGridControlValue("_VAR_FORM_NUMERO",GXCurrentRow[27],AV8Var_For,0)},c2v:function(){AV8Var_For = GXgetGridControlValue("_VAR_FORM_NUMERO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[40]={lvl:2,grid:27,fnc:null,fld:"_IMG2",gxvar:"AV41Img2",op:[],ip:[],v2v:function(Value){AV41Img2=Value},v2c:function(){GXsetGridControlValue("_IMG2",GXCurrentRow[27],AV41Img2,0)},c2v:function(){AV41Img2 = GXgetGridControlValue("_IMG2",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[41]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_FEC_DIA",gxvar:"AV9Var_For",op:[],ip:[],v2v:function(Value){AV9Var_For=Value},v2c:function(){GXsetGridComboBoxValue("_VAR_FORM_FEC_DIA",GXCurrentRow[27],AV9Var_For)},c2v:function(){AV9Var_For = GXgetGridIntegerValue("_VAR_FORM_FEC_DIA",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[42]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_FEC_MES",gxvar:"AV10Var_Fo",op:[],ip:[],v2v:function(Value){AV10Var_Fo=Value},v2c:function(){GXsetGridComboBoxValue("_VAR_FORM_FEC_MES",GXCurrentRow[27],AV10Var_Fo)},c2v:function(){AV10Var_Fo = GXgetGridIntegerValue("_VAR_FORM_FEC_MES",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[43]={lvl:2,grid:27,fnc:null,fld:"_ANIOAUX",gxvar:"AV94AnioAu",op:[],ip:[],v2v:function(Value){AV94AnioAu=Value},v2c:function(){GXsetGridControlValue("_ANIOAUX",GXCurrentRow[27],AV94AnioAu,0)},c2v:function(){AV94AnioAu = GXgetGridIntegerValue("_ANIOAUX",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[44]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_FEC_ANIO",gxvar:"AV11Var_Fo",op:[],ip:[],v2v:function(Value){AV11Var_Fo=Value},v2c:function(){GXsetGridComboBoxValue("_VAR_FORM_FEC_ANIO",GXCurrentRow[27],AV11Var_Fo)},c2v:function(){AV11Var_Fo = GXgetGridIntegerValue("_VAR_FORM_FEC_ANIO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[45]={lvl:2,grid:27,fnc:null,fld:"_IMG3",gxvar:"AV42Img3",op:[],ip:[],v2v:function(Value){AV42Img3=Value},v2c:function(){GXsetGridControlValue("_IMG3",GXCurrentRow[27],AV42Img3,0)},c2v:function(){AV42Img3 = GXgetGridControlValue("_IMG3",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[46]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_COMBO",gxvar:"AV12Var_Fo",op:[],ip:[],v2v:function(Value){AV12Var_Fo=Value},v2c:function(){GXsetGridComboBoxValue("_VAR_FORM_COMBO",GXCurrentRow[27],AV12Var_Fo)},c2v:function(){AV12Var_Fo = GXgetGridIntegerValue("_VAR_FORM_COMBO",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[47]={lvl:2,grid:27,fnc:null,fld:"_IMG4",gxvar:"AV43Img4",op:[],ip:[],v2v:function(Value){AV43Img4=Value},v2c:function(){GXsetGridControlValue("_IMG4",GXCurrentRow[27],AV43Img4,0)},c2v:function(){AV43Img4 = GXgetGridControlValue("_IMG4",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[48]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_RBUTTOM",gxvar:"AV13Var_Fo",op:[],ip:[],v2v:function(Value){AV13Var_Fo=Value},v2c:function(){GXsetGridControlValue("_VAR_FORM_RBUTTOM",GXCurrentRow[27],AV13Var_Fo,2)},c2v:function(){AV13Var_Fo = GXgetGridIntegerValue("_VAR_FORM_RBUTTOM",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[49]={lvl:2,grid:27,fnc:null,fld:"_IMG5",gxvar:"AV44Img5",op:[],ip:[],v2v:function(Value){AV44Img5=Value},v2c:function(){GXsetGridControlValue("_IMG5",GXCurrentRow[27],AV44Img5,0)},c2v:function(){AV44Img5 = GXgetGridControlValue("_IMG5",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[50]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_CHKBOX",gxvar:"AV14Var_Fo",op:[],ip:[],v2v:function(Value){AV14Var_Fo=Value},v2c:function(){GXsetGridCheckBoxValue("_VAR_FORM_CHKBOX",GXCurrentRow[27],AV14Var_Fo,"1")},c2v:function(){AV14Var_Fo = GXgetGridCheckBoxValue("_VAR_FORM_CHKBOX",GXCurrentRow[27],"1","0")}};
hwcdespformularioGXValidFnc[51]={lvl:2,grid:27,fnc:null,fld:"_IMG6",gxvar:"AV45Img6",op:[],ip:[],v2v:function(Value){AV45Img6=Value},v2c:function(){GXsetGridControlValue("_IMG6",GXCurrentRow[27],AV45Img6,0)},c2v:function(){AV45Img6 = GXgetGridControlValue("_IMG6",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[52]={lvl:2,grid:27,fnc:null,fld:"_CAMPOTEXTOERROR",gxvar:"AV95CampoT",op:[],ip:[],v2v:function(Value){AV95CampoT=Value},v2c:function(){GXsetGridControlValue("_CAMPOTEXTOERROR",GXCurrentRow[27],AV95CampoT,0)},c2v:function(){AV95CampoT = GXgetGridControlValue("_CAMPOTEXTOERROR",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[53]={lvl:2,grid:27,fnc:null,fld:"_VAR_FORM_BLOB",gxvar:"AV98Var_fo",op:[],ip:[],v2v:function(Value){AV98Var_fo=Value},v2c:function(){GXsetGridControlValue("_VAR_FORM_BLOB",GXCurrentRow[27],AV98Var_fo,0)},c2v:function(){AV98Var_fo = GXgetGridControlValue("_VAR_FORM_BLOB",GXCurrentRow[27])}};
hwcdespformularioGXValidFnc[63]={lvl:0,grid:0,fnc:null,fld:"_CAMPOTXTPAR1",gxvar:"AV70CampoT",op:[],ip:[],v2v:function(Value){AV70CampoT=Value},v2c:function(){GXsetControlValue("_CAMPOTXTPAR1",AV70CampoT,0)},c2v:function(){AV70CampoT=GXgetControlValue("_CAMPOTXTPAR1")}};
this.AV20FormId=0;
this.AV23LargoM=0;
this.AV28FormGe=0;
this.AV38ParaMa=0;
this.AV70CampoT=0;
hwcdespformularioSetStandaloneVars( ) ;
