trichview.support
Re: Caret in Table? |
Author |
Message |
Sergey Tkachenko |
Posted: 12/08/2004 22:48:49 uses RVItem; var rvetmp: TCustomRichViewEdit; itemtmp: TCustomRVItemInfo; TableMenu1.visible := rve.GetCurrentItemEx(TRVTableItemInfo, rvetmp, itemtmp); > > Hi, > > I have a context sensitive popup menu option, so if the caret is inside a > table when right-clicking it provides an extra 'Table' menu option. However, > if one or more cells in the table is selected when right-clicking the 'Table' > menu option does not appear. > > I code the context sensitive option like this: > > if rve.ToplevelEditor<>rve then TableMenu1.visible:=true; > > I think I need something extra for when cells are selected. > > Thanks |
Powered by ABC Amber Outlook Express Converter