Sliding Data Preview control like in Excel

DanShaffer

New member
Joined
Feb 14, 2005
Messages
1
Programming Experience
3-5
If anyone has ever opened a .txt file with Excel you'll know what I'm talking about. It has a row of data in a listbox and above it is a bar with which you can select how many characters you want for each field.

The purpose I need a control like that for, is in a barcode reading program I'm upgrading. Need it to parse the barcode, and this would be a great way to configure the fields.

For instance, a barcode has 18 digits. First 2 are country of manufacture, next 7 are part number, next two rev level and last 7 are serial number. But this can change, depending on product.

Currenty parsing it with a configurable "mask", basically just a text string like CCPPPPPPPRRSSSSSSS with appropriate letter defined.

Anyways, any idea on what excel uses for its datapreview?
 
That sounds like a great project for a user control.

Make a user control with the listbox, etc. You could search to see if one has already been written, or write one yourself.
 
Back
Top