> Procedure Init > ThisForm.oleRTF.TextRTF = cRemarks > ThisForm.oleRTF.Object.ScrollBars = 3 > EndProc >>When 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 > EndProc >>Got no error, but the scroll bars didn't show up.
> 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?
.Object.ScrollBars = 3I don't know why it doesn't work.