Hello,
I did a function that pass as parameter a 'TRichViewEdit' and do some processing on it. It is working ok but how can I use the same function but passing a 'TDBRichViewEdit' as parameter? Typecasting doesn´t work. Is there some way?
Thanks for any help.
Working with both TRichViewEdit and TDBRichViewEdit
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Yes, use their common ancestor - TCustomRichViewEdit.
Class hierarchy:
Class hierarchy:
Code: Select all
TCustomRichView
| | |
| | TRichView
| |
| TDBRichView
|
TCustomRichViewEdit
| |
| TRichViewEdit
|
TDBRichViewEdit