trichview.com

trichview.support




Re: default language in richviewaction


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/24/2003 21:26:52


Does "default language" mean "default charset of text" (it has sence only in

non-Unicode text).

If yes, you can use rvActionNew.OnNew to create a default set of styles:


procedure TForm1.rvActionNew1New(Sender: TObject);

begin

  RVStyle1.TextStyles.Clear;

  with RVStyle1.TextStyles.Add do begin

    FontName := 'Times New Roman';

    Charset := RUSSIAN_CHARSET;

    Size := 12;

  end;

end;



>

> I am looking for put by default another language (russian for exemple) for

> richviewaction but in form3.create there is no code for that.

> Is it possible to do?

>

> Thanks for your help

>

> jm





Powered by ABC Amber Outlook Express Converter