Skip navigation
Currently Being Moderated

repetable subform y position

Jul 4, 2012 2:40 AM

Hi,

 

Can someone pls help me how to calculate the y position of the repetable subform.

 

Thank you,

Jayakar

 
Replies
  • Currently Being Moderated
    Jul 4, 2012 3:44 AM   in reply to Jay S A

    Hi,

     

    From memory, I don't think you can. However you can place an object (like a line) at the top of the subform and access that's y coordinates.

     

    Thsi example http://assure.ly/uPXhPk has some examples of moving objects around a form, based on x/y coordinates. This example http://assure.ly/pGOS6t has script to maintain an object in a set position. I probably have some more examples.

     

    Hopefully these can help you,

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 3:18 PM   in reply to Jay S A

    Hi Jay,

     

    You can use the xfa.layout.y method, but if you have just added the subform then it will return zero until the subform has been rendered, so you may have to move your code to the layout:ready event.

     

    Regards

     

    Bruce

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points