trichview.support
Re: editing invisible RichViewEdit |
Author |
Message |
Sergey Tkachenko |
Posted: 04/03/2002 23:19:47 Hello, You can edit table located in RVData. But you need to call rv->Format() at the end of editing (where rv is a root TRichViewEdit/TRichView). Before calling Format(), you need to call table->Changed() for table containing changed cell. And it highly recommended to clear undo/redo buffers after such operations (rv->ClearUndo()). > Hello, > > now I work with the cell content as TCustomRVData. But the problem there > is, that I can't edit a table, located in this RVData. For example when inserting > a row to the table in a cell. > Is there a similar function like BeginItemModify from the TCustomRichViewEdit? > > > Thanks, > > Steffen > > > "Sergey Tkachenko" <[email protected]> wrote: > >Hello, > > > >Can you explain which results do you want to achieve? > >Operations in editor were designed to be results of user's commands. May > be > >it will be possible to work with the cell directly? > > > >> Hello, > >> > >> How can I get the RichViewEdit object in a table cell? > >> > >> I made it with: > >> myTable->EditCell(row,col); > >> rve = myTable->GetEditedCell(row,col); > >> > >> Now, I need to set the RichviewEdit object invisible. But then, I can't > >use > >> the function > >> > >> "EditCell()" any longer. I need the TCustomRichViewEdit to alter a table > >> in the cell with > >> > >> using the function BeginItemModify(). > >> > >> How to do? > >> > >> > >> Thanks > >> Steffen > > > > > |
Powered by ABC Amber Outlook Express Converter