Angelo, alvareznag want to disable this for only one form... :-)
alvareznag, I think that you are not able to disable Esc on one form, but if you want to prevent incidentaly close the form, you can add confirm into OnQueryCloseForm trigger...
In which way you want to let user close the form??? Have you some special button? What is your target?
OOps,I'm sorry :shock: , I dont read for "ONLY ONE FORM".
Maybe you can use Onquerycloseform as Kine said. I just know sendkeys to windows environtment by Windows Script Host Object Model(Automation). Maybe somebody else know how to read what keys user put from keyboard so we can control what alvareznag ask for.
Comments
click Tool-->Option,set "Close Forms On Esc" = NO,then click OK.
Regards,
Angelo
alvareznag, I think that you are not able to disable Esc on one form, but if you want to prevent incidentaly close the form, you can add confirm into OnQueryCloseForm trigger...
In which way you want to let user close the form??? Have you some special button? What is your target?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Maybe you can use Onquerycloseform as Kine said. I just know sendkeys to windows environtment by Windows Script Host Object Model(Automation). Maybe somebody else know how to read what keys user put from keyboard so we can control what alvareznag ask for.
Angel's Home