Options

Close form

alvareznagalvareznag Member Posts: 2
I wouldn´t like user can close a (only one) form with scape key. Any property?,

thanks.

Comments

  • Options
    AngeloAngelo Member Posts: 180
    You can do this by :

    click Tool-->Option,set "Close Forms On Esc" = NO,then click OK.

    Regards,
    Angelo
  • Options
    kinekine Member Posts: 12,562
    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?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    AngeloAngelo Member Posts: 180
    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.


    Angel's Home
Sign In or Register to comment.