Jump to content

Button appear only when variable is set


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

Recommended Posts

  • Newbies

I have a layout with two buttons on it.  

 

Button 1 simply sets the variable for the chosen Section [$id_section; Value:TO1a_sites_SECTIONS]

 

Button 2 runs the "Resume Script" command

 

I'm trying to define a calculation in the Inspector's "Hide Object When" calculation so that Button 2 only appears after the variable is set.  So far no luck and any help would be appreciated.

Link to comment
Share on other sites

I hate to answer your question directly without asking you more about this design.

 

Anyway, use $$id_section instead, as it persists beyond the script execution. Then, the Hide calc is not isempty ($$id_section)

Link to comment
Share on other sites

This topic is 3317 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.