John: Intercept the key closure in the KeyPressed Event of the grid column object. Regards,
Jack Skelley John J. Mihaljevic wrote: > Hi all, > > I want to prevent a certain key (in this case, DNARROW) from being used by > my users in a certain column of a grid. I was going to set up a simple > procedure called DONOTHING.PRG that contained only RETURN .T. and put ON KEY > LABEL DNARROW DO DONOTHING.PRG in the WHEN method and ON KEY LABEL DNARROW > (to permit use of the key again) in the VALID method. > > Is there an easier/better way to temporarily disable the use of a specific > key? > > Thanks! > > John > "The difference between a successful person and others is not a lack of > strength, not a lack of knowledge, but lack of will." - Vince Lombardi > > * All mail scanned by Norton AntiVirus. No AV software on your computer? > Remove me from your address book, please. > > * Please respect my privacy. Do not forward my address to anyone else or > include me in emails sent to multiple recipients. Use BCC. > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

