Welcome Screen Form

Lamba
Lamba Member Posts: 263
Hi..

I have created a form which opens on opening a database. But the issue is that when i press Esc the form disappears.
I have tried by setting the property named MinimizedOnOpen to NO.
Still it disappears on pressing Esc.

Answers

  • mohana_cse06
    mohana_cse06 Member Posts: 5,506
    If you ONLY want to stop closing forms on pressing Esc. then there is a setting in Tools-->Options called "Close Forms On Esc"..
  • kine
    kine Member Posts: 12,562
    THis was already discussed in thread about creating the database info panel/dialog, whcih should stayed open on background. You cannot disable the closing of the form, but you can make it opened again when closed. You only need to add code, which will open the form again in OnClose, but not directly, but through timer, else you will block yourself.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Lamba
    Lamba Member Posts: 263
    The suggestion of tools->options->Close Forms On Esc is much more fruitful without any customization.
    Thanks for your suggestion guys.
  • navuser1
    navuser1 Member Posts: 1,334
    Given Solution is worked for every form in Navision but if you want it for a specific form than you have to think different. 8)
    Now or Never