I am experiencing a lot of trouble with the RichEdit components (both FNC and FMX) on the OSx 64 platform.
I am developing 4 Applications for the Win64 and OSx64 platform and all of them have an ‘editor’ Form which contains a RichEditor, a (Dock) Panel, an EditToolbar and a FormatToolbar.
The Form is created on demand with “Form_Editor:= TForm_Editor.Create(self);”
On the Win64 platform there are no problems but on the OSx64 platform I am getting completely random RangeCheck (FMX) or Integer Overflow (FNC) errors while creating the Form.
The strange thing is that if one Application fails to create the Form ALL of the Applications fail to create the Form. And when for example an hour later one Application succeed in the Form creation ALL of the Applications succeed. I can’t find out what’s the trigger why the Form creation succeeds or fails.
What I DID find out is that when I DON’T attach the EditToolbar to the RichEditor in designtime the Form creation ALWAYS succeeds.
Attaching the EditToolbar to the RichEditor in runtime in for example the Forms OnShow or OnActivate through “ TMSFNCRichEditorEditToolbar.RichEditor:= TMSFNCRichEditor; “ again results randomly in the RangeCheck or Inter Overflow errors.
Does anyone have any idea why this happens and how to fix this???