Hi,
I current havetwo nested tab views and inside the deepest one i have a box containing two checkboxes.
But i am not able to access the checkboxes properties if they are not visible on the screen (e.g. i am on another tab).
I know my code is correct becaus eif they are visible on screen I can access them.
It spits this error:
And non i am no trying to assign its state to itself. And I also just observed that this happens when playing with the seond set of tabs, if i change the top level tabs it will happen for the checkboxes AND for the text fields that are inside the second tab view.
Here is a link to a screenshot for better understanding http://files.art-contexte.com/public/misc/interface.png
If something is not clear don’t hesitate to contact me because i really need help on this, time is money! And they want it by august so…
Model: PB G4 1GHZ 15" + G5 DP 2GHZ 2GB RAM + xServe G4 DP 1GHZ + xServe RAID 3.5TB + about 30 macs i administrate
Browser: Safari 412
Operating System: Mac OS X (10.4)
and here is the part that give me such trouble…
***The properties used…
set theLibTab to tab view item "tab_librairie" of tab view "applicationTabs" of window "mainWindow"
set theBackupTab to tab view item "tab_sauvegarde" of tab view "applicationTabs" of window "mainWindow"
set theTransferTab to tab view item "tab_transfert" of tab view "librairieTabs" of view of tab view item "tab_librairie" of tab view "applicationTabs" of window "mainWindow"
set theConfigTab to tab view item "tab_config" of tab view "librairieTabs" of view of tab view item "tab_librairie" of tab view "applicationTabs" of window "mainWindow"
set theTransferOptionBox to box "libTrans_optionsBox" of view of tab view item "tab_transfert" of tab view "librairieTabs" of view of tab view item "tab_librairie" of tab view "applicationTabs" of window "mainWindow"
***And the code that triggers the error… (The two checkboxes in theTranferOptionBox)
tell user defaults to set contents of default entry "GTlibTrans_originalXMLText" to contents of text field "libTrans_originalXMLText" of view of theTransferTab
tell user defaults to set contents of default entry "GTlibTrans_options_useXMLInfo" to state of button "libTrans_options_useXMLInfo" of theTransferOptionBox
tell user defaults to set contents of default entry "GTlibTrans_options_replaceLibrary" to state of button "libTrans_options_replaceLibrary" of theTransferOptionBox
tell user defaults to set contents of default entry "GTlibConf_originalMusicText" to contents of text field "libConf_originalMusicText" of view of theConfigTab
tell user defaults to set contents of default entry "GTlibConf_newMusicText" to contents of text field "libConf_newMusicText" of view of theConfigTab
tell user defaults to set contents of default entry "GTlibConf_newXMLText" to contents of text field "libConf_newXMLText" of view of theConfigTab