trichview.com

trichview.support




CBuilder++ FontDialog->Assign won't compile


Return to index


Author

Message

Norman Buck

Posted: 09/05/2002 19:21:23


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