Graphics

 View Only
  • 1.  Using Visual Logic to space text fields

    Posted 09-16-2015 22:52
    We have two datalinq text fields that we are trying to format so that the spacing is automatically adjusted based on the width of the fields. We figured out how to get the words to follow each, but haven't figured out how to auto squeeze the combined text fields. Is there a way to use Visual Logic to do this? Apparently, you can't use a group field because the groups have no auto squeeze function.


  • 2.  RE: Using Visual Logic to space text fields

    Posted 09-17-2015 23:10
    Have you considered using the Concatenate function in Visual Logic to combine the two text fields into one?

    #XPression


  • 3.  RE: Using Visual Logic to space text fields

    Posted 09-18-2015 02:34
    I tried doing it in Visual Logic, but I'm not really sure if this is what you are looking for..

    Here is a sample project: https://ross.brickftp.com/f/236c953ca

    I put the two text objects into a group and use visual logic to compute an X scaling value to apply to the group (based on the sum of the two bounding boxes divided by the autosqueeze width you want).



    #XPression


  • 4.  RE: Using Visual Logic to space text fields

    Posted 09-18-2015 03:33
    We ended up using the concatenate function in Excel which worked. Thanks for the suggestions.

    #XPression