Faking a tab view

I’m at wit’s end trying to set this up. I want to have a tab-view-like setup, where selecting one of 6 options will display only one combo-box (with the correct options for that radio button). I was thinking I could just use bindings to set the combo-box to be bound to the selected radio button. Apparently it doesn’t work or I’m too dumb (today) to do it. Essentially what I WANT to use is a tab-view, but I can’t seem to add keyboard shortcuts to a tab of a tab view. If I could attach a keyboard shortcut to show a certain tab of the tab view, then I would be set! So I’d like command-1 to enable the first tab (or radio), command-2 to select/enable the second tab (or radio). My ultimate goal is to not need the user to use a mouse to get to the option.
I figure I can make a menu item, with a keyboard shorcut of cmd-1, cmd-2 etc, and have a script to enable and disable and hide the various fields. But if I could do a binding, that would seem easier and more efficient. But at this time, I can’t seem to make a radio button, that when selected, enables a combo-box, then when a different radio button is selected, disable the first radio button’s corresponding combo-box.
Thanks.

EDIT 5-29-07: I got keyboard shortcuts working with tabs with a minimum of scripting (still not a binding). I had to remake the entire project because the keyboard shortcuts were somehow remembered by other buttons and wouldn’t work before.

Hi,

I did something similar to what you’re asking about. There’s probably a better way, but I set up a tab view and set the view to “frameless” in the attributes panel. My tab view had 5 items so I made 5 buttons. Each button had a shortcut specified in the attributes panel. Clicking button one or pressing “Command+1” would display the content in tab view item 1, etc.

i.e.

if theObject is equal to button "buttonCMD1" of window "main" then
tell tab view "mytab" of window "main" to set current tab view item to tab view item 1
end if

Hope this helps. If you find a better way with bindings, let me know, there’s so much I have to learn…

Joe