Hello
Could you tell me if it is possible to enter numerical data in a get from right to left as in a calculator?
I already scanned the posts and found nothing.
Thanks
Get Numeric
Get Numeric
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Get Numeric
Yes.
Use the clause "RIGHTTOLEFT" while defining the Get. This works from FWG18.04 onwards.
Please check the command for GET in fivewin.ch.
This is from whatsnew.txt of FWH1804:
Use the clause "RIGHTTOLEFT" while defining the Get. This works from FWG18.04 onwards.
Please check the command for GET in fivewin.ch.
This is from whatsnew.txt of FWH1804:
- New clause RIHGTTOLEFT. Applies to numeric gets only. When specified, formatted number
is displayed right aligned, even during edit. Digits entered are inserted at the right
most position and the text shifted to the left. Delete key or back key removes the
last digit and moves the remaining text to the right.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Get Numeric
Thanks for the reply, I will check.
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Get Numeric
@ 9,180 GET oNum2 VAR nNumTO SIZE 150,75 RIHGTTOLEFT PIXEL OF oGr PICTURE "999" FONT oFontBigNum
give me an error
test.prg(56) Error E0030 Syntax error "syntax error at '@'"
because there is a error also on whatsnew.txt file
RIGHTTOLEFT instead of RIHGTTOLEFT
give me an error
test.prg(56) Error E0030 Syntax error "syntax error at '@'"
because there is a error also on whatsnew.txt file
RIGHTTOLEFT instead of RIHGTTOLEFT
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Get Numeric
Use RIGHTTOLEFT.
Please follow the syntax in fivewin.ch
Please follow the syntax in fivewin.ch
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India