How to use SrvDxSkin when TSRichViewEdit on a frame
How to use SrvDxSkin when TSRichViewEdit on a frame
My TdxSkinController and TSrvDxSkinAdapter are placed on TDataModule, the TSRichViewEdit are placed on a frame which has a parent class,How to make the TSrvDxSkinAdapter work?
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to use SrvDxSkin when TSRichViewEdit on a frame
In the current version, TSRVDxSkinAdapter applies itself to all controls having the same owner.
When it is placed in a form, it applies itself to all controls on the same form.
So it does not make sense to place it in a data module. Try placing it on a form. If it does not help, place it in the same frame.
When it is placed in a form, it applies itself to all controls on the same form.
So it does not make sense to place it in a data module. Try placing it on a form. If it does not help, place it in the same frame.
Re: How to use SrvDxSkin when TSRichViewEdit on a frame
when I try to add TSRVDxSkinAdapter to my frame,IDE raise exception "Access vilation XXX", but It works fine when I create a new project with 1 simple frame.How should I do?
Re: How to use SrvDxSkin when TSRichViewEdit on a frame
Finally,I copied some functions from src file and create a new class unit,it worked fine:)
thank u!
thank u!