I'm trying to use a TDateEdit Control (from rxlib) to use with RichViewEdit. I've registered this control in the initialization section of the unit (from my Editor) : RegisterClass(TDateEdit).
I can set this control in the RichViewEdit but if I Load the RichView again the control is gone.
What is exactly to do that RichViewEdit saves this control in the RichView document?
Best wishes
Bernhard
Register Controls of Third Party
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
TDateEdit contains 2 subcontrols: TEditButton and TPopupCalendar.
All of them must be registered with RegisterClasses.
There is no problem for TEditButton, but TPopupCalendar is defined in the implementation section of PickDate unit, so you need to change RXLib source code. The most simple way is addingin PickDate.pas
All of them must be registered with RegisterClasses.
There is no problem for TEditButton, but TPopupCalendar is defined in the implementation section of PickDate unit, so you need to change RXLib source code. The most simple way is adding
Code: Select all
initialization
RegisterClass(TPopupCalendar);