Announcement

Collapse
No announcement yet.

Problems using %WS_TABSTOP style

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems using %WS_TABSTOP style

    Hi All,

    My dialog has 15 controls (12 edit controls and 3 buttons) with the %WS_TABSTOP style.
    Is this too many? And if so, what is the maximum?

    This is the problem: When running the application and pressing the tab key, the dialog gets minimized.

    ------------------
    mailto:[email protected][email protected]</A>
    www.basicguru.com/zijlema/

    Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
    http://zijlema.basicguru.eu
    *** Opinions expressed here are not necessarily untrue ***

  • #2
    I don't know of any maximum amout of controls you can place on a
    dialog, or WS_TABSTOPs.

    Additionally, WS_TABSTOP is part of the default style of buttons
    and text boxes so it doesn't really need to be specified in
    the CONTROL ADD statement.

    There must be some other reason for your applications behavior.


    ------------------
    Neil Bertz
    [email protected]
    PowerBASIC Staff

    Comment


    • #3
      Neil,
      You're right. 'Some other reason' fooled me. After a reboot everything was back to 'normal'
      Sorry for this unnecessary interruption.

      ------------------
      mailto:[email protected][email protected]</A>
      www.basicguru.com/zijlema/

      Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
      http://zijlema.basicguru.eu
      *** Opinions expressed here are not necessarily untrue ***

      Comment


      • #4
        Actually think this behaviour is caused by a bug in Windows. Have seen
        similar things happen myself, where both Esc and Tab suddenly minimizes
        a program. Another one is that I sometimes can get right-click menu-popup
        on left button click.

        First time this happened, I spent hours on trying to find the cause, then
        got mad and did tree-finger salute a couple of times. After restart, all
        was well again. Should sue Bill for doing such things to us..


        ------------------

        Comment

        Working...
        X