Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® Links


Thread Tools Search this Thread Display Modes
Old June 26th, 2014, 02:27 PM
hinesj87 hinesj87 is offline
Join Date: Mar 2011
Location: Eugene, Or
Posts: 9
Default Add Border to Frame OnCopyFit?

// No resizing allowed
if (!Copyfit(new MagnifyAttributes("text", 100, 100, 6, 72))) {
    // Find the frame in question and add a border to it?
    var badFrame = FindTextFrame(FusionPro.Composition.CurrentFlow.name);
    // Change the content of the frame
    FusionPro.Composition.CurrentFlow.content = "<para>The values entered do not fit in the space provided.</para>";
I am using the OnCopyFit() callback to change the content of a text frame when the user enters too much data. I would like to add a red border around the frame too, but it seems like this is not allowed from within this callback.

Is there a way to change the properties of a frame in this situation?
Jeff Hines
Reply With Quote
Old June 27th, 2014, 11:43 AM
David Miller David Miller is offline
Senior Contributor
Join Date: Oct 2008
Location: Wallingford, CT
Posts: 263
Default Re: Add Border to Frame OnCopyFit?

Hi Jeff,

Take a look at the solution mentioned in this post:


It might be helpful.
David Miller
FusionPro VDP Creator 10.0.26
Adobe Acrobat Pro 2019.008.20074
Suitcase Fusion 20.0.0 (7653)
macOS High Sierra 10.13.6
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 08:50 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.