55c55
<    var sTitNumInv      = 'Invalid number';
---
>    var sTitNumInv      = 'is an invalid number';
95c95
<    var sTitNumInv      = 'Nmero no vlido';
---
>    var sTitNumInv      = 's nmero no vlido';
136c136
<    var sTitNumInv      = 'Nmero invlido';
---
>    var sTitNumInv      = 'no  um nmero vlido';
633a634
> 
648a650
> 
662a665,666
> 
> 
726d729
< //alert('psVarNome='+psVarNome+', sVarConteudo='+sVarConteudo);
770a774
> 
1978c1982
<          sRet += "<option value='"+i+"' style='color: "+sFieldFColor+"; background-color: "+sFieldBColor+"; font-family: Verdana; font-size: "+sFontSize+";'>"+fsTrim(aVal[i])+"</option>";
---
>          sRet += "<option value='"+i+"'          style='color: "+sFieldFColor+"; background-color: "+sFieldBColor+"; font-family: Verdana; font-size: "+sFontSize+";'>"+fsTrim(aVal[i])+"</option>";
2093c2097
<          //
---
>          // 
2103d2106
< 
2315,2342d2317
< function flChangedOLD(psVar,poObj) {
< /////////////////////////////////
< //alert('flChanged');
<    this.lEscChanged = true;
<    var sVarId = psVar+"_"+this.sId;
<    //console.log('flChanged -> sVarId='+sVarId+', psVar='+psVar);
<    if (poObj==null) poObj = document.getElementById(sVarId);
<    else document.getElementById(sVarId).value = poObj.value;
< 
<    var sVarChanged;
<    var sTyp = this.fsGetVarType(psVar);
<    if (sTyp=="a") {
<       var sInd = fsTrim(psVar.split("-")[1]);
<       sVarChanged = sInd;
<       this.flResetVar(sInd,''+poObj.selectedIndex);
<    } else if (sTyp=='l') {
<       sVarChanged = psVar;
<       if (poObj.checked!==undefined) this.flResetVar(psVar,''+(poObj.checked ? 1 : 0));
<    } else {
<       sVarChanged = psVar;
<       this.flResetVar(psVar,poObj.value);
<    }
< 
<    this.flExec(sVarChanged);
< 
<    this.flRedesenhaTela(true,sVarId,true);
< }
< 
2348c2323
<    //console.log('flChanged -> sVarId='+sVarId+', psVar='+psVar);
---
>    console.log('flChanged -> sVarId='+sVarId+', psVar='+psVar);
2364,2365c2339,2342
<          var sValue = fsReplace(poObj.value,'.','');
<          sValue = fsReplace(sValue,',','.');
---
> 
>          var sValue = fsReplace((poObj.value+''),'.','');
>          sValue = fsReplace((sValue+''),',','.');
>          console.log('flChanged -> sValue='+sValue);
2370,2374c2347
<             //poObj.focus();
<             lPodeSeguir=false;
<          } else {
<             sVarChanged = psVar;
<             this.flResetVar(psVar,poObj.value);
---
>             //lPodeSeguir=false;
2375a2349,2351
>          sVarChanged = psVar;
>          this.flResetVar(psVar,poObj.value);
> 
2380a2357
> 
6095,6096c6072,6081
< //console.log('sVarNome='+sVarNome+', sVarCont='+sVarCont);
<                /*
---
>                var nVarCont = fsReplace(fsReplace((sVarCont+''),'.',''),',','.');   // 4.321,12 -> 4321,12 -> 4321.12
> console.log('lLbl='+sLbl+', sVarNome='+sVarNome+', sVarCont='+sVarCont+', nVarCont='+nVarCont+', isNaN(nVarCont)='+isNaN(nVarCont));
> 
>                if (isNaN(nVarCont)==true) {   // no  um numero
>                   sMsg+=fsReplace((sLbl+''),'_',';')+" = "+sVarCont+" -> "+sTitNumInv+"\n";
>                   lRet = false;
>                   if ((this.iTabEmEdicao==-1)) this.iTabEmEdicao=iIndex;
>                }               
> 
>                /*               
6110a6096
>                
6162c6148,6153
<          document.getElementById("TelaEdicao_"+this.sId).elements[iNext-1].focus();
---
>          //document.getElementById("TelaEdicao_"+this.sId).elements[iNext-1].focus();
>          oObj=document.getElementById("TelaEdicao_"+this.sId).elements[iNext];
> //console.log('iNext='+iNext+', this.iTabIndex='+this.iTabIndex+', oObj.id='+oObj.id);
> 
>          setTimeout("oObj.focus();", 50);
> 
