EControl Form Designer Pro
TEditEx.SelTextW Property

Specifies the selected portion of the edit controlís text (Unicode version).

property SelTextW: WideString;

Read SelTextW to determine the value of the selected text. Set SelTextW to replace the selected text with a new string. If there is no selection, but the edit control has focus, set SelTextW to insert a new string into the text at the cursor. 


Use this property when IsUnicode is True. Otherwise this property may corrupt string due to Ansi to Unicode conversion.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!