I’m having troubles getting nested tabs to work. below is the line of code I’ve been trying but I get errors
set contents of text field “LogonTimes” of tab view item “LogonTab” of tab view “DiagnosticTabIndex” of tab view item “DiagnosticsLogsTab” of tab view “TabIndex” to LogonLog
what am I doing wrong, any help would be appreciated !!!
For some reason you cannot reference nested tab views manually (i.e. by typing in their object “path”)… at least I haven’t seen a way. The best way to do this, is to place a reference to the object into a persistent container a launch-time, and then use that reference to manipulate the object when necessary.
property theTextField : "" --> Object reference variable
on awake from nib theObject --> connect to the text field
set theTextField to theObject
end awake from nib
on clicked theObject --> example implementation
set content of theTextField to "Test"
end clicked