Page 2 of 2
Re: bug browse.prg version 23/11/2011
Posted: Tue Dec 13, 2011 4:01 pm
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. ?
Re: bug browse.prg version 23/11/2011
Posted: Sat Dec 17, 2011 1:55 pm
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

Re: bug browse.prg version 23/11/2011
Posted: Sat Dec 17, 2011 1:58 pm
by mrduck
JosK wrote:
1.The focus from the setkey in myProg is program-wide.
Does it work also in standard TEXTBOXes ?
Re: bug browse.prg version 23/11/2011
Posted: Sat Dec 17, 2011 2:13 pm
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 ..