Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Odd thing happened with a program I am loading a CSV to a rich text box, then doing a little trimming and then loading the data into a list box, all working fine, but if I change the visible property to false it causes the data in the list box to have a blank line inserted,
so my question is why? is it stoppable and how??
Glenn
UPDATE: I have got around the problem, though I would like to know why....
Posted
Updated 13-May-14 3:06am
v2
Comments
wikus70 13-May-14 9:20am    
That's the first time I heard about something like that happening. Where does this blank line get inserted? Is it randomly in the list?
glennPattonWork3 13-May-14 9:26am    
It happens after every line of text, I'm glad you haven't seen it either, just plain odd, as I said got around the problem but not solved it question marks over my head, Visible = false is just a bool I hadn't resized it either???
wikus70 13-May-14 9:45am    
Are you able to reproduce this? Like start a new project and manually filling the ListBox or reading in another CSV file or normal TXT file?
glennPattonWork3 13-May-14 9:48am    
Sorry a bit busy a the moment will have a fiddle when I can.
Richard MacCutchan 13-May-14 11:53am    
We would need to see some code in order to help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900