trichview.support
Re: Insering Control, Saveing Document! |
Author |
Message |
Sergey Tkachenko |
Posted: 04/28/2003 12:57:13 I can imagine two reasons why TButton controls are not loaded: 1) not executing RegisterClass(TButton) before loading 2) excluding rvfoSaveControlsBody from RVFOptions and not providing controls in OnRVFControlNeeded. How do you insert controls in TRichView? Notes: - you do not need to call Format after InsertControl (and any other Insert*** method introduced in TCustomRichViewEdit) - do not call InsertControl inside OnRVFControlNeeded: it can crash the application, just create a control and assign it to ctrl parameter of this event (this event is called only if controls are not saved in RVF, i.e. if rvfoSaveControlsBody is excluded from RVFOptions) |
Powered by ABC Amber Outlook Express Converter