I have this situation when I execute a Enter key press:
Code: Select all
oBrw:bKeyDown( {|nKey| if( nKey == VK_RETURN, oButtons[2]:click(), ) } )
However, I'm running only once!
Where I'm wrong??
Code: Select all
oBrw:bKeyDown( {|nKey| if( nKey == VK_RETURN, oButtons[2]:click(), ) } )
Code: Select all
METHOD KeyDown( nKey, nFlags ) CLASS TXBrowse
if ::bKeyDown != nil
Eval( ::bKeyDown, nKey, nFlags )
endif
do case
...
otherwise
return Super:KeyDown( nKey, nFlags )
endcase