- Code: Select all Expand view
#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
#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
@ 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: Google [Bot] and 10 guests