I'm working with TRichView 1.9 and RVActions on C++ Builder 5.
I have a litte Form with a RichViewEdit and RVActions, assigned to the Control. Wenn i use this Form directly, everthing works fine.
But if I put this Form in a DLL, and call it there is a Problem :
The Windows runs and the RichViewEdit-Control works, but all RVActions doesn't. My own Actions works.
I have debugged the Problem to this Line, from the Example Handling for RVFontComboBox:
Code: Select all
...
rvActionFontEx->UserInterface = false;
rvActionFontEx->ValidProperties = TRVFontInfoMainProperties() << rvfimFontName;
rvActionFontEx->Font->Name = FontName;
// If Forms is called directly, Call of Execute works.
// But isa Form called from a DLL, Call of Execute returns false.
if (rvActionFontEx->Execute() == false)
{
ShowMessage("DEBUG:CAN'T ASSIGN FONT");
}
rvActionFontEx->UserInterface = true;
...
Can you give me a Solution for that? I can send you a Minimum Example Project to demonstrate.
thanks