Procedure Init ThisForm.oleRTF.TextRTF = cRemarks ThisForm.oleRTF.Object.ScrollBars = 3 EndProcWhen I DO the .prg I get a OLE IDispatch exception code 0 from RichTextCtrl: Property is read-only.
Procedure Init ThisForm.oleRTF.TextRTF = cRemarks ThisForm.oleRTF.ScrollBars = 3 EndProcGot no error, but the scroll bars didn't show up. Shouldn't be a way of setting the object's property in the Define Class?
Define Class MyRTFClass as OleControl OleClass = "RICHTEXT.RichTextCtrl.1" OleLCid = 1033 ScrollBars = 3 <<<<<<<<<<<<<< <Other Attributes> . . .Being more specific: how can I set the ScrollBars property to 3 (both scroll bars) and make it work?