Hi All
I get updated box numbers via an Excel file.
I have made a listbox to copy and paste the Excel column with the box numbers.
The copy and paste parts works well, but it paste it as one long string and not individual numbers one below the other.
I assume the Crlf is not handled or there is just something i need to set.
procedure TMainform.MenuItem1Click(Sender: TObject);
var
Tclip:tclipboard;
begin
listbox1.Items.Clear;
if Clipboard.HasFormat(CF_TEXT) then
listbox1.Items.Add(Clipboard.AsText);
end;
Some ideas would be much appreciated.
-Peter