trichview.com

trichview.support




RichViewActions PreparePopup


Return to index


Author

Message

Alan McDonald

Posted: 12/24/2004 1:57:00


Thanks for that info on the control panel..

In my actiontest demo I've managed to get everything working fine. The

popupmenu (RVAPopupMenu) is great with the actions added via the helper

procedure etc. I even have spell check options added  - great.

Now I want to duplicate this setup in my real application. I have everyting

working EXCEPT the spell check options don't appear in the popup. I get the

spell checking working - I get the red underline showing on the one wrong

word but when I popup the menu, the dictionary options don't get added.

I've tracked it down to the PopupComp := FPopupMenu.GetPopupComponent; line

in the PreparePopup. No matter what I do it comes back with nil as the

PopupComp.

Now I see that defaultControl in the Control panel is assigned and the

popupmenu is assigned to the editor (DBRichViewEdit in this instance) but I

can't for the life of me see how this PopupComp is assigned.

Can you give me some clues to look into here?

thanks

Alan





Powered by ABC Amber Outlook Express Converter