Selecting/Highlight a row text in TextArea ?

BlitzPlus Forums/BlitzPlus Programming/Selecting/Highlight a row text in TextArea ?

uwdesign(Posted 2004) [#1]
Been looking around and I can't seem to find a way to either a row of characters in a TextArea. There seems to be commands for reading such info, but not tagging them yourself ?

Any ideas ?


soja(Posted 2004) [#2]
Send the EM_SETSEL message to the TextArea with the appropriate parameters. Look up EM_SETSEL on msdn.microsoft.com, and see this thread for an example of using it:
http://www.blitzbasic.com/Community/posts.php?topic=37462


uwdesign(Posted 2004) [#3]
Soja:

Thanks, I found your example after a bit more searching..