Professional Web Applications Themes

Fixing Tab Order in Cocoa Window - Mac Programming

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 ...

  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. #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

  3. #3

    Default Re: Fixing Tab Order in Cocoa Window

    ifiaz <ifiazhotmail.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
    doents, especially part under Cocoa Objects called "Enabling Tabbing
    Between Objects".

    --
    matt neuburg, phd = [email]matttidbits.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

Similar Threads

  1. Modeless dialog parent window in Cocoa
    By ZZmiy@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 4
    Last Post: September 16th, 08:30 AM
  2. Fixing window size of flash projector
    By swheller webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: January 14th, 10:14 PM
  3. Cocoa, changing window close behavior?
    By None in forum Mac Programming
    Replies: 7
    Last Post: August 21st, 07:13 AM
  4. multiple doent and window types in cocoa
    By matt neuburg in forum Mac Programming
    Replies: 0
    Last Post: July 21st, 02:35 PM
  5. Fixing registry
    By Amethyst in forum Windows XP/2000/ME
    Replies: 1
    Last Post: July 7th, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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