Remove the ' ' (blanks spaces) from combobox1 item ?
Posted on 2003-02-25
This is a simple one but I can't get it right Grrrr.
I need to copy only the bytes or text with values from combobox1.itemindex.
The item has 20 bytes in it. The first so many contain a name and the rest is blank up to 20. If I use the whole line for a label name, and set autosize to true, the label width obviously sizes itself to fit 20 characters.
What is the code to only copy until that line shows a blank ' ' ????
Thanks in advance
p.s. The blank spaces need to be in the combobox for a reason.