Data Access Worldwide Knowledge Base
Article ID 2249 Article Title HOWTO: Get the value of a cTextEdit object Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2249 KBase Category VDF11 Date Created 10/05/2006 Last Edit Date 10/12/2006
Article Text
QUESTION:
Now that I have Visual DataFlex 11 I see that the EDIT class became obsolete and needs to be replaced by the cTextEdit class. I also read that the class does no longer have items and that the whole object is one value. How does this relate to kB 1589?
ANSWER:
You are right; the cTextEdit class replaces the Edit class. This was primarily done to have a RichEdit control support in VDF. A number of new features are present in this class and method names changed. Some methods are new and extra while others are no longer available.
To get the value of the cTextEdit object you simply ask for the contents of the Value property.
Get Value Of oMyEditor To sAllTheText
It is comparable with the EditWindowText function described in KB 1589.
Contributed By:
Vincent Oorsprong
Company: Data Access Worldwide
email: vincent.oorsprong@dataaccess.eu
Web Site: http://www.dataaccess.eu
Web Links Related to this Article
DAW Knowledge Base article 1589: HOWTO: Read data from an edit object
URL=http://www.dataaccess.com/KBPrint.asp?ArticleID=1589
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.