SteveMyres Posted July 9, 2010 Share Posted July 9, 2010 With animated screen elements, typically there is a way to control visibility, usually on the Size tab. There's a window for you to enter an expression the result of which determines whether or not the component will be displayed. I thought I read somewhere there is a visibility control for every component, but I'll be darned if I can find one for Static Text or Panels. I guess in the case of the Static Text, I could use Descriptive Text instead with only a single entry, and make symbols that are just a flat piece in lieu of the panels, because those do have visibility controls, but it seems a little kludgey. Link to comment Share on other sites More sharing options...
AzeoTech Posted July 9, 2010 Share Posted July 9, 2010 Every component has a visible variable. Name the component (right click and select Component Name...), then do: component.mycomponent.visible = 0 to make invisible or =1 to make visible This can be done in a sequence, in an event, anywhere really that takes script. Link to comment Share on other sites More sharing options...
SteveMyres Posted July 13, 2010 Author Share Posted July 13, 2010 Is there an abbreviated self-referential syntax for use inside element events, such as: Component.ME.visible = 1 or ME.visible = 1 or just Visible = 1? Link to comment Share on other sites More sharing options...
AzeoTech Posted July 13, 2010 Share Posted July 13, 2010 If it is inside the component itself (i.e. in a quick sequence for a component), then its local to the script, so just visible = 1. Same with all other component parameters. Link to comment Share on other sites More sharing options...
SteveMyres Posted July 13, 2010 Author Share Posted July 13, 2010 Yeah. Actually I was thinking of in an element event. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.