Jump to content

Frame visibility


Hawk

Recommended Posts

Here is an example with a small conditional statement that will suppress a frame if the conditions are met. I added a couple of variables at the top. If either one of those are changed the frame will not be suppressed.

 

RecordType='Generic'
RecordLang='FR'

   var VariableName = FindTextFrame("FrameName")
   if (RecordType=="Generic" || RecordLang=="FR"){
   VariableName.suppress = true
   }  

 

I hope this helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...