trichview.com

trichview.support




Insert Control with Popup: Popup does not work


Return to index


Author

Message

Christian Kirchhoff

Posted: 01/09/2003 17:21:49


Hello,


I've created a descendant of TImage which I insert in a RichView control

at runtime. I've assigned a Popup menu to the TImage, but it doesn't show

up when I right click the TImage.

I can assign the same popup menu to the RichView component itself, and it

pops up whenever I right click the RichView's client area.

I can create a TImage at runtime, assign the popup menu to it and insert

it somewhere else in my form, and it properly shows up and the popup menu

pop's up whenever I right click this TImage.


But for the TImage inserted as a control into the RichView the popup doesn't

pop up.


I can insert a TButton component as a control, with the same popup menu assigend

and the popup menu shows up if I right click the Button.


Another strange thing: If I move the mouse over the button, zhe mouse pointer

changes from the Ibeam to an arrow. If I move the mouse over the image, the

mouse pointer doesn't change!?


Is the class TImage as a control inside a TRichViewEditor not fully supported?


Regards,


Christian Kirchhoff





Powered by ABC Amber Outlook Express Converter