TASC Posted March 4, 2009 Posted March 4, 2009 Hi all, I have been trying to use the getLayoutObjectAttribute to setup script triggers on a tab. I am obviously missing something because it's not working. I have 3 tabs, with object names as: event_00, event_01 and event_02 I have setup Script triggering onObjectEnter on each tab. Is this correct? Also, my script that runs is as follows: If (getLayoutObjectAttribute("event_00";isFrontTabPannel) show message"it works" else show message "it doesn't work" endif Is this correct? Thanks in advance, Constance
TASC Posted March 11, 2009 Author Posted March 11, 2009 Hi all, I have been trying to use the getLayoutObjectAttribute to setup script triggers on a tab. I am obviously missing something because it's not working. I have 3 tabs, with object names as: event_00, event_01 and event_02 I have setup Script triggering onObjectEnter on each tab. Is this correct? Also, my script that runs is as follows: If (getLayoutObjectAttribute("event_00";isFrontTabPannel) show message"it works" else show message "it doesn't work" endif Here's what I was missing: If (getLayoutObjectAttribute("event_00";"isFrontTabPannel")=1 show message"it works" else show message "it doesn't work" endif I also checked the trigger to run on object modify and that seems to have done the trick for me. hope this helps someone else down the road.
Recommended Posts
This topic is 5754 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now