I did but could not see how it would work here. My form has six MS richtext active x controls and their control sources are a form properties which represent values in each field in the record.
A timer looks at the value in the fields and sets the property value which shows in the control. In the init of the form I can set some properties for the "text" such as; With .st_amt_1k.font .bold = .t. .size = 225 .name = 'ariel' Endwith If I add this ".st_amt_1k.forecolor = rgb(255,255,0)", an ole error returns, unknown name. James E Harvey Hanover Shoe Farms, Inc. M.I.S./Corresponding Officer Off: 717-637-8931 fax: 717-637-6766 email: jhar...@hanoverpa.com -----Original Message----- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Rick Schummer Sent: Monday, July 27, 2009 3:47 PM To: profox@leafe.com Subject: RE: richtext control properties >>I can't seem to find where I can set the forecolor property for a richtext control.<< Have you looked at the Solution Samples that ship with VFP? If not, you can find them in the Task Pane Manager under the ActiveX\ActiveX Controls examples. There is a good one on the RTF control and the example shows you how to change the forecolor of text. Rick White Light Computing, Inc. www.whitelightcomputing.com www.swfox.net www.rickschummer.com [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/018801ca0ef6$21d45e30$657d1a...@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.