trichview.com

trichview.support




Re: CBuilder++ FontDialog->Assign won't compile


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/06/2002 7:44:42


FontDialog->Font->Assign(

  RichViewStype1->TextStyles->Items

    [RichViewEdit1->CurTextStyleNo]);



>

>

FontDialog->Font->Assign(RichViewStype1->TextStyles[RichViewEdit1->CurTextSt

> yleNo]);

>

> The above line won't compile, and complains that it can't convert "

> TFontInfos to TPersistent *"

> If I manually cast it to (TPersistent *)& I get a run time error.

>

>

>





Powered by ABC Amber Outlook Express Converter