Fixing Tab Order in Cocoa Window

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default Fixing Tab Order in Cocoa Window

    I am a Cocoa Newbie who comes from VB.

    In VB, you can choose from properties whether
    I have a "TabStop" on a particular command button,
    option button, etc. and also the order the TAB
    should follow by setting "TabIndex".

    Say I have 5 CheckBox, The higher the "TabIndex"
    for that particular CheckBox, the later the
    button is selected. This way I can choose
    whichever order is suitable for that particular
    App.

    How can we do this in Cocoa?

    I see that there is no property setting for this.
    The Tab order seems to be fixed from the position
    a button is located.

    Top Left -> Bottom Right

    and also, there is no way to set a particular button
    not to have Tab Stop when the user tabs.

    Please help.
    ifiaz Guest

  2. Similar Questions and Discussions

    1. Modeless dialog parent window in Cocoa
      I'm trying to use Cocoa dialog in my plug-in. It opens OK and works properly except that it can "hide" behind active doc's window. I can't work out...
    2. Fixing window size of flash projector
      Hi, I am using the fscommand to fix the width of the my movie, but I want to be able to stop people resizing the projector window because I have...
    3. Cocoa, changing window close behavior?
      Is there an easy way to change the window closing behavior in Cocoa? I'd like to have a slightly unorthodox behavior, in which the main document...
    4. multiple document and window types in cocoa
      In <210720030631331455%none@none.com> None wrote: Use the existing document framework. Let the AppKit do the work. You don't need to store...
    5. Fixing registry
      Gavin Deadman wrote: In case you hadn't noticed, this group is called microsoft.public.windowsxp.basics. It is not called...
  3. #2

    Default Re: Fixing Tab Order in Cocoa Window

    ifiaz wrote:
    > Say I have 5 CheckBox, The higher the "TabIndex"
    > for that particular CheckBox, the later the
    > button is selected. This way I can choose
    > whichever order is suitable for that particular
    > App.
    >
    > How can we do this in Cocoa?
    In the interface builder, you'll find that controls have a "nextText"
    outlet. Try connecting it.

    -jcr
    John C. Randolph Guest

  4. #3

    Default Re: Fixing Tab Order in Cocoa Window

    ifiaz <ifiaz@hotmail.com> wrote:
    > I am a Cocoa Newbie who comes from VB.
    >
    > In VB, you can choose from properties whether
    > I have a "TabStop" on a particular command button,
    > option button, etc. and also the order the TAB
    > should follow by setting "TabIndex".
    >
    > Say I have 5 CheckBox, The higher the "TabIndex"
    > for that particular CheckBox, the later the
    > button is selected. This way I can choose
    > whichever order is suitable for that particular
    > App.
    >
    > How can we do this in Cocoa?
    In Interface Builder, choose Help -> Interface Builder Help. Read that
    documents, especially part under Cocoa Objects called "Enabling Tabbing
    Between Objects".

    --
    matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt/[/url]
    Read TidBITS! It's free and smart. [url]http://www.tidbits.com[/url]
    matt neuburg Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139