Jump to content
Server Maintenance This Week. ×

getLayoutObjectAttribute


This topic is 5526 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 5526 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.