on 07-16-2008 5:12 AM
Hello Forum,
Could someone help me with the code for repostioning the borders in SFP?
Thanks
Best Regards
D. Swathi
Hi Swathi,
Are you asking about the page border repositioning. Follwing is the code to reposition any UI Element on the form.
The code is in FormCalc and Java Script and you have to write it in the form's Script editor. Write the code in the event of the UI element you want.
To set Margins use follwing:
Margins
Left
leftInset property
Subform1.margin.leftInset = "measurement"
Right
rightInset property
Subform1.margin.rightInset = "measurement"
Top
topInset property
Subform1.margin.topInset = "measurement"
Bottom
bottomInset property
Subform1.margin.bottomInset = "measurement"
Size and Position
X
x property
Subform1.x = "measurement"
Y
y property
Subform1.y = "measurement"
Width
w property
Subform1.w = "measurement"
Height
h property
Subform1.h = "measurement"
Width Auto-fit
minW property
Subform1.minW = "measurement"
Height Auto-fit
minH property
Subform1.minH = "measurement"
Hope it will help.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.