 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alan Agnew Guest
|
Posted: Tue Sep 06, 2005 4:04 pm Post subject: TMemo - SelLength = 0 not clear highlighting |
|
|
Have a TMemo control which contains a file name in its text on a line by
itself.
Have a OnDblClick event handler that establishes the beginning and end
of the line so that the file name can be retrieved from TMemo->SelText.
I then set SelLength = 0.
If I then do a shell open of the file name, thus taking focus from the
TMemo, I end up with the "word" containing the cursor highlighted.
What can I do to either end up with no highlighting, or the whole file
name highlighted even when it includes spaces.
Alan
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|