FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC TGet RIGHT clause is not working
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
TGet RIGHT clause is not working
Posted: Sat Feb 10, 2007 06:07 PM
This is a sample:

#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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TGet RIGHT clause is not working
Posted: Sun Mar 25, 2007 12:21 PM

Any news?

EMG

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TGet RIGHT clause is not working
Posted: Sun May 20, 2007 11:38 AM

I'm still waiting... :-)

EMG

Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: TGet RIGHT clause is not working
Posted: Thu Sep 06, 2007 06:17 AM
EnricoMaria wrote:This is a sample:

#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


I confirm, and this problem is also in redefine!
The number is not RIGHT!!!!
is possible to solve?
Thank you
Ciao, best regards,

Ugo
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
TGet RIGHT clause is not working
Posted: Thu Sep 06, 2007 09:47 AM
The problem comes from the PICTURE. If it is not used, then the ES_RIGHT style is working fine:
    @ 1, 10 GET nVar; 
            SIZE 75, 20; 
            RIGHT
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
TGet RIGHT clause is not working
Posted: Thu Sep 06, 2007 04:57 PM
Antonio Linares wrote:The problem comes from the PICTURE. If it is not used, then the ES_RIGHT style is working fine:
    @ 1, 10 GET nVar; 
            SIZE 75, 20; 
            RIGHT

Dear Antonio,
it work fine!
I necessity to transform the number with this picture "@E 999,999.99" and i modify with the say:
    REDEFINE SAY oSay PROMPT cVar
       oSay:bGet := {|| Transform( nVar, "@E 999,999.99" ) }

with this solution the number result with gray background and in left position :-)
There are other possibility?
Ciao, best regards,

Ugo
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
TGet RIGHT clause is not working
Posted: Thu Sep 06, 2007 06:22 PM

Ugo,

You may use PadL() to add spaces on the left side. is that ok ?

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion