hi,
im having some troube getting a tab view to toggle between tab1 and tab2,
as far as i can see i have followed the examples on developer connection methodiclly and all my lables correspond.
but for some reason i cant get it to swich.
here is the code im using
on awake from nib theObject
(*Add your script here.*)
end awake from nib
on will select tab view item theObject tab view item tabViewItem
(*Add your script here.*)
end will select tab view item
on selected tab view item theObject tab view item tabViewItem
(*Add your script here.*)
end selected tab view item
on should select tab view item theObject tab view item tabViewItem
(*Add your script here.*)
end should select tab view item
on clicked theObject
(*Add your script here.*)
if name of theObject is "ok" then
tell tab view "mytab" of window "myWindow" to set current tab view item to tab view item "tab2"
end if
end clicked
im thinking maybe i havent set up my event handlers correctly in interface builder
please can someone point me in the right direction as its driving me nuts.
many thanks in advance.
peace,
truth