trichview.com

trichview.support




ListStyle problem with FormatString


Return to index


Author

Message

Gabriel Padilla

Posted: 07/16/2003 12:52:39


I want to be able to change the FormatString of ListLevel[0] during runtime,

but the following does not seem to work. 


Code:

  var s : string;


  s := rve.Style.listStyles[0].Levels[0].FormatString;

  s := s + ' aa';

  rve.Style.listStyles[0].Levels[0].FormatString := s;

  rve.Format;


The ListType is set to rvlstDecimal and ImageList is blank.


Even when I save the rve to a stream and reload it to force the regeneration

of the ListStyle level does not work.


Changing the other properties of the TRVListLevel does work like changing

the Font.Name or the FirstIndent.


Your help is greatly appreciated.


Gabriel Padilla





Powered by ABC Amber Outlook Express Converter