DcPushButtonXP .. DelayAction Reacts by pressing Enter

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

DcPushButtonXP .. DelayAction Reacts by pressing Enter

#1 Post by PedroAlex »

Roger,

The new DcPushButtonXP DelayAction Reacts by pressing Enter Key.
This is not correct.

Run the sample click in any button and than Press de keyboard Key Enter.
You will see That happen the delayaction be activated.
it is possible to avoid this?

The correct is :
When press the Enter Key the action of the button in focus must be activated and not the delayaction!

Many thanks..
Attachments
Delay.jpg
Delay.jpg (6.86 KiB) Viewed 10992 times
Pedro Alexandre

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

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#2 Post by rdonnay »

I do not have this problem.

When I run ..\samples\buttonxp\buttondelay.exe, everything works as expected.
The eXpress train is coming - and it has more cars.

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#3 Post by PedroAlex »

Roger,

Do this :

click on button Test 4.
The action 1 is activated.
Click Ok on the action 1 box.
The box is closed and the focus stay on button test 4.
thain press Enter on the Keyboard, the action 2 is activated.

eXpress 267 and xbase 2.0.1176 / win 10 1909.

can you confirm this behavior ? or not?

Thanks.
Pedro Alexandre

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

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#4 Post by rdonnay »

Ok, I see now.
I thought that you said there was a delay after hitting enter.

Fix is attached.

Copy _DCXBUTT.PRG to ..\source\dclipx
Run BUILD20.BAT to rebuild DCLIPX.DLL.
Attachments
_dcxbutt.zip
(22.92 KiB) Downloaded 575 times
The eXpress train is coming - and it has more cars.

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#5 Post by PedroAlex »

Roger,

Now it is ok.

Thanks..
Pedro Alexandre

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#6 Post by PedroAlex »

Roger,

Sorry, but now when click on DcPushButtonXP 'Test1' a DEbug screen pops up.

Something you forgot to disable!
can you tell me where and what?

thanks..
Attachments
Debug.jpg
Debug.jpg (56.56 KiB) Viewed 10954 times
Pedro Alexandre

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#7 Post by PedroAlex »

Roger,
Forget.


I think I found

_Dcxbutt.prg
Line 150

//wtf ::actionStart2

Correct?
Pedro Alexandre

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

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#8 Post by rdonnay »

Oops. I forgot about that.
I took it out of my source file.
The eXpress train is coming - and it has more cars.

User avatar
hz_scotty
Posts: 107
Joined: Thu Jan 28, 2010 8:20 am
Location: Wr.Neustadt / Österreich

Re: DcPushButtonXP .. DelayAction Reacts by pressing Enter

#9 Post by hz_scotty »

Line 1560 in _dcxbutt.prg not 150 :clap:
best regards
Hans

Post Reply