trichview.support
| Setting Font... | 
| Author | Message | 
| Shane Stump | Posted: 06/05/2005 18:31:03 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