‎2008 Oct 28 2:02 PM
Hello,
I am changing a smartform which has a logo and an address right next to it on the right. The change is to use a new logo which is bigger than the old one and I have no problem with this. However, when testing the form, the new logo overlaped with the address box. So, I moved the address box to the right a bit to avoid the overlap and activated the form. But when tesing it, the address did not move. I tried with another box and I got the same problem. I last tried to move the logo box just for testing and the it worked for the logo. Do you have any idea why it did not work for the other boxes? Please help!
Thank you,
Chuong
‎2008 Oct 28 2:08 PM
When you moved the boxes, did you also resize them? If you didn't, it could be that they have no room to move to, so they remain in the same place.
‎2008 Oct 28 2:15 PM
I did not resize them but in the form definition display (after the activation), they are at the right new positions.
Please help,
Chuong
‎2008 Oct 28 2:15 PM
Hi,
Drawing box depends on reguirement, if you get the request the you have to do. there are may documents available on SDN and also reffer SAp help.
you can draw box in SAP script using the following code.
/: POSITION XORIGIN '-0' CH YORIGIN '-0.
/: SIZE WIDTH '+0.4' CH HEIGHT +1 LN
/: BOX HEIGHT '13.5' LN FRAME 10 TW
/: BOX FRAME 10 TW
this is if you want to give the lengeth and breath of box.
and BOX FRAME 10 TW is for intensity of frame line. the more the TW the thicker the line.
if you are not sure of length and breath of box and want it to be dynamic the use this code.
/: POSITION XORIGIN '-0' CH YORIGIN '-0'.
/: BOX FRAME 10 TW
Hop this may help you.
‎2008 Oct 28 2:17 PM
‎2008 Oct 28 2:20 PM
So, in this new positions they are still within the page boundaries or have they stepped over it?
‎2008 Oct 28 2:24 PM
‎2008 Oct 28 9:01 PM
It was my mistake. I moved the wrong window.
Thanks for your help.