Re: TRichView in Android
Posted: Fri Sep 10, 2021 8:31 pm
So all that needed changed to get it working in Delphi 10.4 Community Edition (Though Error: Abstract Error is still there inside the TRichViewEdit component on the Android device though the other RichViewEdit renders correctly otherwise so far at least with text.)
File fmxRVEdit
1. In the first uses include System.Types in {$IFDEF FIREMONKEY} 2. In the second occurrence of implementation uses comment out System.Types around line 1310. File ? can't remember
1. In another file There was a {$ENDIF} before an else that Delphi didn't like but I can't remember the file now. I moved it after the else
Lastly
In the android app don't set the style of the RichViewEdit in the design interface or in the FormCreate. You can do it later via a button or something which is not ideal so I am still trying to understand what to do.
Perhaps this will give some ideas on getting going.
I am sure Sergey can explain better and has some ideas when he gets time.
File fmxRVEdit
1. In the first uses include System.Types in {$IFDEF FIREMONKEY} 2. In the second occurrence of implementation uses comment out System.Types around line 1310. File ? can't remember
1. In another file There was a {$ENDIF} before an else that Delphi didn't like but I can't remember the file now. I moved it after the else
Lastly
In the android app don't set the style of the RichViewEdit in the design interface or in the FormCreate. You can do it later via a button or something which is not ideal so I am still trying to understand what to do.
Perhaps this will give some ideas on getting going.
I am sure Sergey can explain better and has some ideas when he gets time.