- Code: Select all Expand view RUN
#include "Fwce.ch"
FUNCTION MAIN()
LOCAL oWnd
LOCAL nVar := 123.45
DEFINE WINDOW oWnd
@ 1, 1 SAY "Test: "
@ 1, 10 GET nVar;
SIZE 70, 20;
PICTURE "@E 9999.99";
RIGHT
ACTIVATE WINDOW oWnd
RETURN NIL
EMG
#include "Fwce.ch"
FUNCTION MAIN()
LOCAL oWnd
LOCAL nVar := 123.45
DEFINE WINDOW oWnd
@ 1, 1 SAY "Test: "
@ 1, 10 GET nVar;
SIZE 70, 20;
PICTURE "@E 9999.99";
RIGHT
ACTIVATE WINDOW oWnd
RETURN NIL
EnricoMaria wrote:This is a sample:
- Code: Select all Expand view RUN
#include "Fwce.ch"
FUNCTION MAIN()
LOCAL oWnd
LOCAL nVar := 123.45
DEFINE WINDOW oWnd
@ 1, 1 SAY "Test: "
@ 1, 10 GET nVar;
SIZE 70, 20;
PICTURE "@E 9999.99";
RIGHT
ACTIVATE WINDOW oWnd
RETURN NIL
EMG
@ 1, 10 GET nVar;
SIZE 75, 20;
RIGHT
Antonio Linares wrote:The problem comes from the PICTURE. If it is not used, then the ES_RIGHT style is working fine:
- Code: Select all Expand view RUN
@ 1, 10 GET nVar;
SIZE 75, 20;
RIGHT
REDEFINE SAY oSay PROMPT cVar
oSay:bGet := {|| Transform( nVar, "@E 999,999.99" ) }
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 52 guests