Subform behaves 'non-Navision'

ViperViper Member Posts: 3
](*,)
Have a form with tabcontrol and 7 tabs. On 4 of those tabs I have subforms on. Everything works great. Boss wants a new subform added. So I make room on one of the tabs, and add the new subform. Here is what I am having a problem with.

When I am in any of the other 4 subforms, pressing ESC will close the main form. Standard Navision-Great. But this new subform, when you are focused on it, you can press ESC 5million times and it wont close the form. I have tried adding other subforms, and they all experience this new behavior. I have checked properties between the subforms at the form level and independantly at their level. They are all the same(bar size and names). What am I missing? Anyone have any idea why pressing ESC doesnt work when focused on this new subform, when it works on the older subforms?????

Comments

  • krikikriki Member, Moderator Posts: 9,118
    You probably still have some CANCEL buttons on your subform. You should delete these. Any ESC-key goes standard to that button.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ViperViper Member Posts: 3
    \:D/ Kriki

    Coding god... I bow in your presence. A day wasted trying to figure it out and you do it in a morning...

    Thank you.... works like a charm...
  • DenSterDenSter Member Posts: 8,307
    Do we all have to sacrifice something? :-k
  • krikikriki Member, Moderator Posts: 9,118
    DenSter wrote:
    Do we all have to sacrifice something? :-k
    I just want all of you to sacrifice some of your time to help others save a day of their time, so they can sacrifice some of their time to help others save a day of their time, so ...
    I am not a god that asks a lot of his followers and priests 8) 8) 8)
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.