trichview.support
Insering Control, Saveing Document! |
Author |
Message |
Mamouri |
Posted: 04/28/2003 11:33:30 Hi! I use following code for inserting control: var btn: TButton; begin btn := TButton.Create(Self); RichViewEdit1.InsertControl('afsdafs', btn, rvvaMiddle); RichViewEdit1.Format; and then using following code I save document: RichViewEdit1.SaveRVF('C:\1.rvf', False); and using following code I try to load doucment: RichViewEdit1.LoadRVF('C:\1.rvf'); RichViewEdit1.Format; But Document loaded without controls. Then I tried following code in OnRVFControlNeeded: RichViewEdit1.InsertControl(Name, ctrl, rvvaMiddle); RichViewEdit1.Format; But The document still loaded without controls! Am I wrong? |
Powered by ABC Amber Outlook Express Converter