11-21-2002, 09:30 AM
How to remove specific line in a multiline text box using visual basic?
Thanks..hope anyone can help..
11-21-2002, 10:55 AM
afaik this cannot be done. a textbox doesnt keep the individual lines in a collection-type-property of the textbox-object, it stores the text as one string-object in the .Text property. If you change the size of the box, the words are divided over the lines differently, that should give you this hint. What you can do is scan the text-property of the box for the part to delete (maybe between two vbCr´s), and then alter the text that way, but that would have to be a rather fuzzy search
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.