Skip to main content

Search

Search

Setting X Position Of Object B Based On X + Width Of Object A

Comments

5 comments

  • Avatar
    Legacy Poster

    There are not many records in your datafile to test with, but my test showed it worked.

     

    Are you actually printing or print previewing the records to test? Or just clicking through the arrows in the design screen? If you print preview the job it should work.

    0
  • Avatar
    Legacy Poster

    Hi nRyder

     

    I'm doing actual printing to test - sending the btw data records with a database (text) file.  In doing so, I'm observing that the Text 12 object gets overwritten by the end of the Text 10 object - the Text 12 object's X position does not move to the right and start with an offset from the end of the Text 10 object.

     

    Thank you for helping!

     

    Regards, jr

    0
  • Avatar
    Legacy Poster

    I see. Have you tried instead putting the script in "OnIdenticalCopies" instead of "OnNewRecord"?

    This should confirm it runs for every single label printed - just in case.

    0
  • Avatar
    Legacy Poster

    Just tried that - in OnIdenticalCopies ... no joy.  SS Support Tech is now saying it looks like a bug and they are investigating it.  Thank you sir for your assistance.  I shall report back when I know more info.  Best regards.

    0
  • Avatar
    Soslticemoon

    Good Day!

    I want to adjust the horizontal position of one text box based on the record-specific (variable) width of an adjacent text box.

    I am trying to do this because one textbox needs to be boldfaced while the adjacent box must be plain, but I need them to appear as a single line of text.

    I have tried from OnNewRecord, OnIdenticalCopies, and OnSerialize.The width value is always returned from the Design View.

     

    Thanks!

     

    0

Please sign in to leave a comment.