In my program (FoxPro 2.0) i use built-in calculator.
In my country as decimal point serve "," .
Accordingly ... set point to ",".
And basic calling:
on key label F9 do kalkulacka
...
procedure kalkulacka
acti wind calculator
retu
Unfortunately, although decimal point in calculator
appear as ",",
and i can write it from keyboard,
but i cannot hit with mouse in window calculator.
And, more badly, any load from variable to calculator
and vice versa ended with ",".
(It regard as nonnumeric character, so 45,24 ended as 45.)
I modify kalkulacka:
procedure kalkulacka
set point to iif(set("point"
= "," , "." , ","
acti wind calculator
retu
and then first F9...point is "."
and calculator is in full function,
second F9 return point to ","
as necessity in my country.
Is any way force calculator regard ","
fully as decimal point ?
Thank to your time wasted my question..
Tesar
In my country as decimal point serve "," .
Accordingly ... set point to ",".
And basic calling:
on key label F9 do kalkulacka
...
procedure kalkulacka
acti wind calculator
retu
Unfortunately, although decimal point in calculator
appear as ",",
and i can write it from keyboard,
but i cannot hit with mouse in window calculator.
And, more badly, any load from variable to calculator
and vice versa ended with ",".
(It regard as nonnumeric character, so 45,24 ended as 45.)
I modify kalkulacka:
procedure kalkulacka
set point to iif(set("point"
acti wind calculator
retu
and then first F9...point is "."
and calculator is in full function,
second F9 return point to ","
as necessity in my country.
Is any way force calculator regard ","
fully as decimal point ?
Thank to your time wasted my question..
Tesar