trichview.com

trichview.support




Re: Inheriting Control


Return to index


Author

Message

Mike

Posted: 10/21/2002 11:39:53


What a complete moron I am - I was using TRichView not TRichViewEdit.


Sorry for wasting your time.  Toooo many late nights on the job......


Mike


--



WorkSmart Ltd


Tel:    01908 394 361

Fax:   01908 394 360


============================================================

This email message and any accompanying attachments may contain

information that is confidential. If you are not the intended recipient, do

not read, disseminate, distribute or copy this message or attachments.

If you have received this message in error,  please notify the sender

immediately and delete this message.


Before opening any attachments, please check them for viruses and defects.

============================================================

"Michael Lindre" <[email protected]> wrote in message

news:[email protected]...

> 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