[Openroad-users] Preventing code running during debug
Bloomfield, Martin (PSD)
Martin.Bloomfield at psd.defra.gsi.gov.uk
Fri Oct 26 18:51:25 EST 2007
Following the problems I was having the other week with exiting
multi-line entry fields in a tablefield, I managed to work around this
using a combination of a childkeydown (to detect shift keys) and
childkeypress events. This is now working as I would like, allowing the
users to press tab or enter to exit the field.
However, as a consequence of implementing the childkeydown event, I am
no longer able to debug my application as when I do a Debug | Break on
Next Statement, every keypress causes the childkeydown event to run (as
expected) but no code runs after the event exits. Does anyone know if
it is possible to prevent this event running when in debug mode, but
have it running at all other times? I know I could comment out the
event but this stops it running all the time & I would have to remember
to re-activate it before imaging the application.
For info I'm using OR4.1 SP2 on Windows XP.
Thanks,
Martin Bloomfield.
_________________________________________________
Application Developer & Database Administrator
IT Branch,
Pesticides Safety Directorate
YORK
Email: martin.bloomfield at psd.defra.gsi.gov.uk
Website: www.pesticides.gov.uk
P Save a tree... please don't print this e-mail unless you really need
to
Department for Environment, Food and Rural Affairs (Defra)
This email and any attachments is intended for the named recipient only.
If you have received it in error you have no authority to use, disclose,
store or copy any of its contents and you should destroy it and inform
the sender.
Whilst this email and associated attachments will have been checked
for known viruses whilst within Defra systems we can accept no
responsibility once it has left our systems.
Communications on Defra's computer systems may be monitored and/or
recorded to secure the effective operation of the system and for other
lawful purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071026/fa7d0eb6/attachment.html
More information about the Openroad-users
mailing list