Tabbing stops working?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fredrik Melin

    Tabbing stops working?

    Have posted about this before without luck, maybe someone know a workaround.

    Using Framework 1.1

    I have about 140 clients running my application, every day, some of them
    loosing the Tab key function in the forms, they also loosing the enter key
    functionallity.

    Instead of TAB and Enter the active button (what ever button that is for the
    moment) get pressed instead.

    The enter problem I have "solved" by telling them to use CTRL-Enter instead
    that seems to work better.

    But for the TAB button I dont know how to solve it.

    One time, I manage to get the same problem in my IDE while debugging, and on
    Enter or TAB the only message sent was as the active button was clicked, the
    message for the TAB or enter never got triggered.

    I suspect its linked to forms having a Tabpage on it, its only happening
    there.

    Anyone seen the same and have a solution?

    Regards
    Fredrik Melin


  • Armin Zingler

    #2
    Re: Tabbing stops working?

    "Fredrik Melin" <mel@no-spam.dacsa-remove-this.net> schrieb[color=blue]
    > Have posted about this before without luck, maybe someone know a
    > workaround.
    >
    > Using Framework 1.1
    >
    > I have about 140 clients running my application, every day, some of
    > them loosing the Tab key function in the forms, they also loosing the
    > enter key functionallity.
    >
    > Instead of TAB and Enter the active button (what ever button that is
    > for the moment) get pressed instead.
    >
    > The enter problem I have "solved" by telling them to use CTRL-Enter
    > instead that seems to work better.
    >
    > But for the TAB button I dont know how to solve it.
    >
    > One time, I manage to get the same problem in my IDE while debugging,
    > and on Enter or TAB the only message sent was as the active button
    > was clicked, the message for the TAB or enter never got triggered.
    >
    > I suspect its linked to forms having a Tabpage on it, its only
    > happening there.
    >
    > Anyone seen the same and have a solution?[/color]

    Yes, concerning the Enter key: It's the default behavior that the button
    gets pressed if it is focused and Enter is pressed, so I'm not quite sure if
    I understood you correctly. Concerning Tab: Did you add any key handling m
    echanism, like keypress, keydown, processdialogke y, processtabkey.. .?


    --
    Armin

    How to quote and why:



    Comment

    • Fredrik Melin

      #3
      Re: Tabbing stops working?

      Regarding Enter, the problem is that the Focus is a any textbox, Eg, user
      enter a text in a multiline textbox and want a new line, He/She presses
      enter, and a button get pressed.

      Same with Tab instead of moving to the next Text field, a button get
      pressed...

      Regards
      Fredrik

      "Armin Zingler" <az.nospam@free net.de> wrote in message
      news:40bef1d7$1 $27032$9b622d9e @news.freenet.d e...[color=blue]
      > "Fredrik Melin" <mel@no-spam.dacsa-remove-this.net> schrieb[color=green]
      > > Have posted about this before without luck, maybe someone know a
      > > workaround.
      > >
      > > Using Framework 1.1
      > >
      > > I have about 140 clients running my application, every day, some of
      > > them loosing the Tab key function in the forms, they also loosing the
      > > enter key functionallity.
      > >
      > > Instead of TAB and Enter the active button (what ever button that is
      > > for the moment) get pressed instead.
      > >
      > > The enter problem I have "solved" by telling them to use CTRL-Enter
      > > instead that seems to work better.
      > >
      > > But for the TAB button I dont know how to solve it.
      > >
      > > One time, I manage to get the same problem in my IDE while debugging,
      > > and on Enter or TAB the only message sent was as the active button
      > > was clicked, the message for the TAB or enter never got triggered.
      > >
      > > I suspect its linked to forms having a Tabpage on it, its only
      > > happening there.
      > >
      > > Anyone seen the same and have a solution?[/color]
      >
      > Yes, concerning the Enter key: It's the default behavior that the button
      > gets pressed if it is focused and Enter is pressed, so I'm not quite sure[/color]
      if[color=blue]
      > I understood you correctly. Concerning Tab: Did you add any key handling m
      > echanism, like keypress, keydown, processdialogke y, processtabkey.. .?
      >
      >
      > --
      > Armin
      >
      > How to quote and why:
      > http://www.plig.net/nnq/nquote.html
      > http://www.netmeister.org/news/learn2quote.html
      >[/color]


      Comment

      • Armin Zingler

        #4
        Re: Tabbing stops working?

        "Fredrik Melin" <mel@no-spam.dacsa-remove-this.net> schrieb[color=blue][color=green][color=darkred]
        > > > Instead of TAB and Enter the active button (what ever button that
        > > > is for the moment) get pressed instead.
        > > >
        > > > The enter problem I have "solved" by telling them to use
        > > > CTRL-Enter instead that seems to work better.
        > > >
        > > > But for the TAB button I dont know how to solve it.
        > > >[/color]
        > >
        > > Yes, concerning the Enter key: It's the default behavior that the
        > > button gets pressed if it is focused and Enter is pressed, so I'm
        > > not quite sure
        > > if
        > > I understood you correctly. Concerning Tab: Did you add any key
        > > handling m echanism, like keypress, keydown, processdialogke y,
        > > processtabkey.. .?[/color]
        >
        > Regarding Enter, the problem is that the Focus is a any textbox, Eg,
        > user enter a text in a multiline textbox and want a new line, He/She
        > presses enter, and a button get pressed.
        >
        > Same with Tab instead of moving to the next Text field, a button
        > get pressed...[/color]


        You wrote "...the active button (what ever button that is for the moment)
        get pressed instead". I thought "active button" means that the button has
        the focus.

        And again the question: Did you add any key handling m echanism, like
        keypress, keydown, processdialogke y, processtabkey.. .?

        If you can reproduce the bahvior, try to set a breakpoint in the button's
        click event. When you press tab and the breakpoint is hit, have a look at
        the callstack to be able to find out the reason. If you don't, you can post
        the callstack here and I'll have a look at it.


        --
        Armin

        How to quote and why:



        Comment

        Working...