Jump to content

Recommended Posts

Posted (edited)

I have a graphics frame that I put a 2 point border on. I'd like it so the border doesn't appear if the client chooses not to upload an image in that spot.

 

Is there a way to suppress that border?

Edited by strido
Oops... I meant border, not stroke.
Posted

Yes, you can simply name the frame and suppress it in OnRecordStart; something like this:

if (!Field("YourFieldName"))
   FindGraphicFrame("YourFrameName").suppress = true;

Or:

FindGraphicFrame("YourFrameName").suppress = !Field("YourFieldName");

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...