trichview.com

trichview.support




Re: Inheriting Control


Return to index


Author

Message

Michael Lindre

Posted: 10/21/2002 2:04:08


Well I know that - The point I was making was the control.


a) Does not work when inherited - I use a separate package and delphi 6.


Just inherit TRichView no changes - and nonthing can not get a focus

in the control at runtime with a style control set


Any Ideas




"Sergey Tkachenko" <[email protected]> wrote in message

news:[email protected]...

> Actions should work for all controls inherited from TCustomRichViewEdit,

> TRichViewEdit, or TDBRichViewEdit

>

> > I inherited the control so that I could enbed the style object in.  But

it

> > does not work.  so I

> > removed the styple control so that it would be more or less the same

> control

> > still would

> > not edit, even with the style control on the form and assigning it to

the

> > control.

> >

> > I found the actioncontrol object has a defaultcontrol property of type

> > tcustomrichview o

> > something like that, well it would not list this inherited control.  And

> > hence none of

> > the actions would work with this control....

> >

> > The new control was placed in a new package

> >

> > I really do not know what is going on.

> >

> > Any ideas

> >

> > Mike

> >

> > ps i am using delphi 6 ver of control 1.6 something

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter