1234567,90
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL nVar := 0
DEFINE DIALOG oDlg
@ 1, 1 GET nVar;
SIZE 100, 13;
PICTURE "@E 999,999,999.99";
RIGHT
@ 3, 1 BUTTON "Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
2. If I paste a value like 12.345.678,90 in a numeric field in my application, than it is shown as 12.34. How can I accomplish that a value like 12.345.678,90 which is pasted in a numeric field, results into 12345678.90?
Enrico Maria Giordano wrote:This is a sample. It doesn't work with 999.999.999,99. The result is 99.999.999,00. What am I missing?
- Code: Select all Expand view RUN
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL nVar := 0
DEFINE DIALOG oDlg
@ 1, 1 GET nVar;
SIZE 100, 13;
PICTURE "@E 999,999,999.99";
RIGHT
@ 3, 1 BUTTON "Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
EMG
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 41 guests