Article ID 2112
Article Title HOWTO: Set the color for a text selection in a RichEdit control
Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2112
KBase Category Visual DataFlex
Date Created 04/23/2005
Last Edit Date 06/01/2005


Article Text
QUESTION:
Is there a way to control highlight colors in the RichEdit control?  

ANSWER:
Visual DataFlex has a property called TextBackColor that sets (or returns) the background color of the selected text to the specified color.

Example:
set TextBackColor to clYellow


Contributed By:
Slobodan Predolac
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 ©2024 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.