Hi everyone,
I've been trying it but no luck... appreciate any helps possible.. Thanks!
I've a masterpage called 'UILayout':
Long(Height)=100mm, Short(Width)=100mm
I've a button click event with the script to set the Long to 160mm:
====================================
//display current height
var curHeight = xfa.form.form1.pageSet.UILayout.medium["long"];
xfa.host.messageBox("Current Height = " + curHeight);
//set height to 160mm
xfa.form.form1.pageSet.UILayout.medium["long"]="160mm";
//relayout the pageArea
xfa.layout.relayoutPageArea(0);
====================================
Doesn't work, I wrote another button click event to retrieve the height, and it returned 160mm. But the layout just doesn't refresh with the changed height....i'm using LC Designer 8.2, form saved as Dynamic XML PDF , compability set to 7.0.5, view in Acrobat Pro 7.1. Thanks...