Jump to content

Need help with hide/show text frame


Marlonw12

Recommended Posts

I used - FindTextFrame("YourTextFrameName").suppress = true;

 

I'm having trouble figuring out how to make the statement false so the text frame will show without me actually writing the word false.

 

Also, what is the best way of allowing the other text frame or text to flow without a gap/space when the text frame is suppressed? Currently when I change true to false, there is a huge cap in between the two text frames I have.

Link to comment
Share on other sites

I used - FindTextFrame("YourTextFrameName").suppress = true;

 

I'm having trouble figuring out how to make the statement false so the text frame will show without me actually writing the word false.

I don't understand what you mean. Presumably, there's some condition controlling whether to suppress the frame or not, in code like this:

if (some_condition)
   FindTextFrame("YourTextFrameName").suppress = true;

So this code would be equivalent to that:

FindTextFrame("YourTextFrameName").suppress = !(some_condition);

In either case, you shouldn't need to specify "false" explicitly; that's the default.

Also, what is the best way of allowing the other text frame or text to flow without a gap/space when the text frame is suppressed? Currently when I change true to false, there is a huge cap in between the two text frames I have.

I'm also not sure what you mean here. Can you post the job?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...