Data Access Worldwide Knowledge Base
Article ID 2155 Article Title HOWTO: Insert text using cTextEdit class Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2155 KBase Category VDF11 Date Created 08/01/2005 Last Edit Date 08/01/2005
Article Text
QUESTION:
What happened with the Insert method in the cTextEdit class? This method was available in the Edit class, but is missing in the cTextEdit class. What is its equivalent in the new class?
ANSWER:
Use ReplaceSel. This replaces the current selection. If nothing is selected, it inserts the text in the current position.
Contributed By:
John Tuohy
Company: Data Access Worldwide
Web Site: http://www.dataaccess.com
Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.
The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.