Page 1 of 1
How to use SrvDxSkin when TSRichViewEdit on a frame
Posted: Sun Feb 25, 2018 9:08 am
by wolf1860
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?
Re: How to use SrvDxSkin when TSRichViewEdit on a frame
Posted: Sun Feb 25, 2018 9:26 am
by Sergey Tkachenko
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.
Re: How to use SrvDxSkin when TSRichViewEdit on a frame
Posted: Sun Feb 25, 2018 12:19 pm
by wolf1860
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
Posted: Mon Feb 26, 2018 2:59 pm
by wolf1860
Finally,I copied some functions from src file and create a new class unit,it worked fine:)
thank u!