DCGET

This forum is for eXpress++ general support.
Post Reply
Message
Author
WernerSt
Posts: 18
Joined: Thu Jan 28, 2010 3:48 am
Contact:

DCGET

#1 Post by WernerSt »

Roger,

I ask for support because I have a Problem shown in the following test program I prepared for presentation:

Please write in:

Last Name: write in test and press enter

Amount: write in 345.45 and press enter

Street: write in test and press enter (until this Point everything is fine)

After last entry the Cursor moves to Last Name again

write in test and press enter

Amount: try to write in 445,45
my result is: the entry field only takes 4, shows 4.00 and moves to entry field street.
so the amount is only 4.00.
You can't write 445,45 in the second entry loop.

procedure test

LOCAL GetList:= {}, cLastName := Space(15), cstreet := Space(15),;
nAmount:= 0,GetOptions

@ 1,10 DCSAY 'Last Name' GET cLastName picture "@K XXXXXXXXXX"

@ 3,10 DCSAY 'Amount' GET nAmount picture '@K 99999999.99'
@ 5,10 DCSAY 'Street' GET cstreet picture "@K XXXXXXXXXX"

dcgetoptions nominbutton nomaxbutton noconfirm noresize tabstop ;
saywidth 0 noescapekey

DCREAD GUI ;
FIT ;
ADDBUTTONS ;
OPTIONS GetOptions

RETURN

I hope you have a solution or Explanation what is wrong in a.m. procedure.

My Xbase-Version is 2.00.1037
express-Version is 2.0.266
OS: Windows 10

Regards,
Werner

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCGET

#2 Post by rdonnay »

Werner -

The problem appears to be with the NOCONFIRM clause.
If you remove that, everything works ok.

I will have to look into this.

Roger
The eXpress train is coming - and it has more cars.

WernerSt
Posts: 18
Joined: Thu Jan 28, 2010 3:48 am
Contact:

Re: DCGET

#3 Post by WernerSt »

Roger,
you are right, removing the noconfirm clause improves the behaviour I described,
but then the user has to press enter every entry field before moving to the next field.
This was not necessary in my programs so far compiled with old express-Version,
and it makes the noconfirm clause a little bit useless.
Regards,
Werner

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCGET

#4 Post by rdonnay »

old express-Version
Are you saying that an older version worked ok?
Which version were you using?
The eXpress train is coming - and it has more cars.

WernerSt
Posts: 18
Joined: Thu Jan 28, 2010 3:48 am
Contact:

Re: DCGET

#5 Post by WernerSt »

I used Xbase++ 1.90.355 and express++ 1.9.255 including that unconfirm clause many years.

Post Reply