trichview.com

trichview.support




Re: Setting Font...


Return to index


Author

Message

Shane Stump

Posted: 06/05/2005 18:48:00


Never mind - I got it figured out.. had a function/event recursion problem!


Regards,


Shane


"Shane Stump" <[email protected]> wrote in message

news:[email protected]...

>I am still putting together my small embedded document processor using

>TRichView. I can't use the RVFontComboBox and RVFontSizeComboBox controls

>because of limitations in DevExpress's ExpressBars.

>

> Any how, I am trying to use code below taken from the demo version and I

> get an Access Violation error 0000000 sometime after the Execute is

> called.

>

>    rvActionFontEx_->UserInterface   = false;

>    rvActionFontEx_->ValidProperties = (TRVFontInfoMainProperties() <<

> rvfimFontName);

>    rvActionFontEx_->Font->Name    = strFontName;

>    rvActionFontEx_->Execute();

>    rvActionFontEx_->UserInterface   = true;

>

> So my question is how do I set the font name without using the

> rvActionFontEx action?

>

> Regards,

>

> Shane

>





Powered by ABC Amber Outlook Express Converter