trichview.com

trichview.support




Indenting bulleted paragraph


Return to index


Author

Message

Norma Zhao

Posted: 01/07/2004 1:16:15


Hi,


I wrote a rtf editor which has the Bullets button and indent button. The

OnClick event handler for these two buttons are as following:


procedure TframeEditor.btnBulletsClick(Sender: TObject);

begin

  if not btnBullets.Down then

    rve.RemoveLists(False)

  else

    rve.ApplyListStyle(CreateBullets,0,0,False,False);

end;


procedure TframeEditor.btnIdentIncClick(Sender: TObject);

begin

  rve.ApplyParaStyleConversion(PARA_INDENTINC);

end;


They works fine seperately. The problem is I can not indent the bulleted

paragraph (nothing happened when I click Indent button) or add bullet to

the indented paragraph (the paragraph with bullets moved to the left).


Could you please help me fix this problem?


Thanks


norma





Powered by ABC Amber Outlook Express Converter