Fair Lee wrote:
> Does anyone know how to disable Alt key from Delphi3 program?  I have an
> application program that calls a DLL to do the product search.  After the
> product search pops up, if user hits Alt+x (for Exit), the error message
> 'Access Violation' came up.

You're trying to treat the symptom instead of the illness.

Why does your program crash? I assure you there is nothing wrong with the
Alt key, so don't cripple your users just because your program doesn't
work.

Figure out why you get an access violation. Does the debugger should you
where the error occurs? Do you have the "debug DCUs" option enabled? Maybe
a tool like JclDebug or MadExcept can tell you where the error is even if
the IDE can't.

-- 
Rob


_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi

Reply via email to