bug browse.prg version 23/11/2011

Moderator: Rathinagiri

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: bug browse.prg version 23/11/2011

Post by mrduck »

JosK wrote:JKgrid
In DoCellKeyBoardEvents you added the call of setkey if a SET KEY has been set program-wide.

Does it work when focus is on another widget ?

I ask since it works differently for forms, with ON KEY / STORE KEY / RELEASE KEY...


Why do you check for navigation keys (up/down...) and just return .F. ?
JosK
Posts: 46
Joined: Tue Nov 08, 2011 11:38 pm

Re: bug browse.prg version 23/11/2011

Post by JosK »

mrduck wrote:
JosK wrote:JKgrid
In DoCellKeyBoardEvents you added the call of setkey if a SET KEY has been set program-wide.

Does it work when focus is on another widget ?

I ask since it works differently for forms, with ON KEY / STORE KEY / RELEASE KEY...


Why do you check for navigation keys (up/down...) and just return .F. ?
1.The focus from the setkey in myProg is program-wide.

2. I have added navigation keys in my JkGrid.prg for testing. Maybe i will use that in the future ;-)
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: bug browse.prg version 23/11/2011

Post by mrduck »

JosK wrote: 1.The focus from the setkey in myProg is program-wide.
Does it work also in standard TEXTBOXes ?
JosK
Posts: 46
Joined: Tue Nov 08, 2011 11:38 pm

Re: bug browse.prg version 23/11/2011

Post by JosK »

JosK wrote:
mrduck wrote:
JosK wrote:JKgrid
In DoCellKeyBoardEvents you added the call of setkey if a SET KEY has been set program-wide.

Does it work when focus is on another widget ?

I ask since it works differently for forms, with ON KEY / STORE KEY / RELEASE KEY...


Why do you check for navigation keys (up/down...) and just return .F. ?
1.The focus from the setkey in myProg is program-wide.

2. I have added navigation keys in my JkGrid.prg for testing. Maybe i will use that in the future ;-)
Euhh setkey in jkGrid.prg ? does nothing ... was for testing ..
Post Reply