What is the problem with the picture?
It works for me.
DCGET PICTURE "(999)999-9999" problem
Re: DCGET PICTURE "(999)999-9999" problem
The eXpress train is coming - and it has more cars.
-
- Posts: 176
- Joined: Thu Nov 05, 2020 10:51 am
- Location: DOMINICAN REPUBLIC
Re: DCGET PICTURE "(999)999-9999" problem
When you get to a field with a phone-like picture, it's normal to start typing numbers. And precisely when you start to type the numbers, the cursor returns back, and is placed on top of the left parenthesis, and the keyboard inputs are blocked.
To get the cursor out of that inertia, press the right arrow key. And, this situation is very uncomfortable for users. In version 1.90, this did not happen to me. It only happens to me after I compile my project with version 2.0
Best regards.
To get the cursor out of that inertia, press the right arrow key. And, this situation is very uncomfortable for users. In version 1.90, this did not happen to me. It only happens to me after I compile my project with version 2.0
Best regards.
- Attachments
-
- GETPHONEXPRESS.jpg (23.82 KiB) Viewed 4190 times
Re: DCGET PICTURE "(999)999-9999" problem
I agree that this appears to be a problem with Xbase++ 2.0.
I'll see if I can give you a workaround.
I'll see if I can give you a workaround.
The eXpress train is coming - and it has more cars.
Re: DCGET PICTURE "(999)999-9999" problem
Here is a fix for you:
Code: Select all
#INCLUDE "dcdialog.CH"
FUNCTION Main()
LOCAL GetList[0], cPhone
cPhone := Space(13)
@ 0,0 DCSAY 'Phone' GET cPhone PICTURE '(999)999-9999' ;
GETEVAL {|o|o:savePos := 2}
DCREAD GUI FIT
RETURN nil
PROC appsys ; return
The eXpress train is coming - and it has more cars.
-
- Posts: 176
- Joined: Thu Nov 05, 2020 10:51 am
- Location: DOMINICAN REPUBLIC
Re: DCGET PICTURE "(999)999-9999" problem
Done, fixed.
It worked very well for me.
Thank you Roger.
It worked very well for me.
Thank you Roger.