trichview.com

trichview.support




Selecting a Component


Return to index


Author

Message

Ben Vaughan

Posted: 03/03/2003 4:34:09


Hi,


I have created a few custom components that I am currently using in the

RichView editor. What I am trying to do is to set a focus rectangle around

the component when I double click it.


Currently I am using the TRichViewEdit.GetItemAt using  the Left and Top of

the component then calling TRichViewEdit.SetSelectionBounds. But this causes

problems if my component is the only item on the page.


Is this the best way to do this or should I be doing it another way?


Regards

Ben





Powered by ABC Amber Outlook Express Converter