trichview.com

trichview.support




Re: How avoid the automatic resize of a cell ?


Return to index


Author

Message

Fernando Alonso

Posted: 10/30/2003 11:24:39


Hello Sergey:


I follow your instructions and I write this:


  if rve.TopLevelEditor <> rve then begin

     if rve.TopLevelEditor.Height > MaxCellHeight then begin

        ShowMessage(inttostr(rve.TopLevelEditor.DocumentHeight));

        beep;

        rve.Undo;

       // rve.TopLevelEditor.Undo;

       // Abort;

     end;

  end;


But it does not work well, the publisher shoots the event OnChange, but it

does not eliminate the last characters typing by the user, and the cell grows.

I try to make the rve.undo and also 

rve.TopLevelEditor.Undo.


Can you helpme ?

Thanks

Fernando Alonso





Powered by ABC Amber Outlook Express Converter