trichview.com

trichview.support




Text selection in document with tables


Return to index


Author

Message

Evgeniy Krjutskov

Posted: 11/14/2003 19:46:42


My problem in following :

I have TRichViewEdit , which have folowing structure of items -


-----------------------------------------------------------------

Item 1)

  1.1 Table (1 row, two cells) , the cells have following texts

         1.1.1 - "UserName say:"

         1.1.2 - "date time(f.e 20:23:11)

  1.2) Some Text  (it's a chat window)


Item 2)

  2.1 Table (1 row, two cells) , the cells have following texts

         2.1.1 - "UserName say:"

         2.1.2 - "date time(f.e 20:23:11)

  2.2) Some Text  (it's a chat window)



Item ...

-----------------------------------------------------------------


When selecting some text with mouse in  text item (not in table) and dragging

mouse over tables, then selection of texts in tabled also present, so in

this case all OK. But if I select some text from table cell and dragging

mouse to normal text  area, then selection does not work. And if some text

in text area (not in table) is selected and some cell in table left-clicked(popupMenu

property assigned with menu) , then TRichView.SelectionExists return False

..(but selection is present).


Help plz,how to resolve it's ... the component not registered yet(will be

purchased at next week approx) , so i have not sources and can't do anything

with behaviour of TRVTableItemInfo :(





Powered by ABC Amber Outlook Express Converter