Split contents of a multi-line text box into multiple single-line text boxes Follow

1
Avatar
Wesley Wu

Hello.

I have a label with multiple 1D barcodes, and a QR code that draws from the data on those 1D barcodes. Each section of the QR code's data is separated by carriage returns. What I would like is a way to scan the QR code, and use the inputted data to fill in 1D barcodes. I assume the easiest way to do this is to have a separate off-screen text box where I can scan the information into (since only the text box preserves the carriage returns), then split the data into separate boxes, which the 1D barcodes can read from. If there is an easier way to do this, I would love to know, but if not I would like to know how to do this.

1 comments

0
Avatar
Wesley Wu

Another thing I have considered is having multiple layers of text boxes. Each layer has two text boxes; one that reads the data to the left of the first carriage return, and one that reads data to the right. Each layer draws from the right textbox of the layer above it, with the top layer reading from the input. This way, each barcode's data can be parsed out. If you know how to do this, please do tell me.

Please sign in to leave a comment.