Well I’ll give you my entire code to see if it helps.
set mainwindow to window "main"
set e to view of tab view item "e" of tab view "view" of mainwindow
set efonttype to view of tab view item "ft" of tab view "editing" of e
set hex_color to (call method "getHEXValue:" of class "methods" with parameter (color well "color" of efonttype))
set contents of text field "hexcolor" of efonttype to hex_color
tell window "main"
tell tab view item "e" of tab view "view"
tell tab view item "ft" of tab view "editing"
call method "getHEXValue:" of class "methods" with parameter color well "color"
set content of text field "hexcolor" to result
end tell
end tell
end tell
I don’t know if there’s anything else I can do for you. FWIW, when I was using those methods, I was using User Defaults to save both the color well and the text field.
Ok I created a simple project with 2 tab views and 2 tabs in each one and had a button in tab 1 of tab view 1 and had a text box in tab 2 of tab view 2 of tab 2 of tab view 1 and once you click on the button it sets the value in the text field so I’m thinking that my project has a bug in the nib file so I’m going to recreate the nib and see if that helps