TRichView in Android
TRichView in Android
I know this may be an obvious question. But if one wanted to use TRichView in an Android enviroment via something like Lazarus or Delphi 10 would it be possible? (The software we work with is based around TRichView in Windows and it would be great to port it to Android, IOs, MAC, Linux).
If this has been address some place else can you direct me there?
If this has been address some place else can you direct me there?
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRichView in Android
Sorry, Andriod version will be implemented not soon. Definitely not in 2021.
Re: TRichView in Android
Greetings Sergey,
Nice to see the FMX coming out excellent work sir!
I understand Android version is not ready yet but here are a couple notes.
When I try to compile Android 32 or 64bit I get the following errors.
[DCC Error] fmxRVEdit.pas(379): E2003 Undeclared identifier: 'TRect'
[DCC Fatal Error] fmxRVTable.pas(678): F2063 Could not compile used unit 'fmxRVDataList.pas'
Ideas on how to solve these or is this quite a ways off yet?
Nice to see the FMX coming out excellent work sir!
I understand Android version is not ready yet but here are a couple notes.
When I try to compile Android 32 or 64bit I get the following errors.
[DCC Error] fmxRVEdit.pas(379): E2003 Undeclared identifier: 'TRect'
[DCC Fatal Error] fmxRVTable.pas(678): F2063 Could not compile used unit 'fmxRVDataList.pas'
Ideas on how to solve these or is this quite a ways off yet?
Re: TRichView in Android
I'm not 100% sure, but calls to TRect might have been changed to TRVCoordRect. You can still use it but you may have to cast your var in code to that. Sergey will have the answer though!jgkoehn wrote: ↑Wed Sep 08, 2021 8:28 pm Greetings Sergey,
Nice to see the FMX coming out excellent work sir!
I understand Android version is not ready yet but here are a couple notes.
When I try to compile Android 32 or 64bit I get the following errors.
[DCC Error] fmxRVEdit.pas(379): E2003 Undeclared identifier: 'TRect'
[DCC Fatal Error] fmxRVTable.pas(678): F2063 Could not compile used unit 'fmxRVDataList.pas'
Ideas on how to solve these or is this quite a ways off yet?
Stan
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRichView in Android
There are some cases where TRect is still used.
What version of Delphi do you use?
TRect must be defined in System.Types.pas, and this unit is included in "uses" of fmxRVEdit.
What version of Delphi do you use?
TRect must be defined in System.Types.pas, and this unit is included in "uses" of fmxRVEdit.
Re: TRichView in Android
Greetings,
I am trying it in Delphi 10.4
I am trying it in Delphi 10.4
Re: TRichView in Android
Greetings Sergey,
I see System.UITypes is this where it should be?
I see System.UITypes is this where it should be?
Re: TRichView in Android
Ah I see it hmms ok
Re: TRichView in Android
When I get it to run I only get a black screen even if I just add a Style and RichView or RichViewEdit.
Has anyone got RichViewEdit or RichView to run with Android 10?
Has anyone got RichViewEdit or RichView to run with Android 10?
Re: TRichView in Android
Finally got it RichView to Load but if I add a Style it does not work.
Re: TRichView in Android
I am sorry I forgot to specify that I am using RichViewEdit 19.4 this is the latest correct?
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRichView in Android
Sorry, I plan to test and fix Android version later.
My current plans - Delphi 11 support, then Mac. Then either Linux or Android.
My current plans - Delphi 11 support, then Mac. Then either Linux or Android.
Re: TRichView in Android
Ah I understand many things to work on. Delphi 11 looks interesting.
If you have a small amount of time and can point me to ideas that I could look into getting Android running it would be appreciated. Thank you
If you have a small amount of time and can point me to ideas that I could look into getting Android running it would be appreciated. Thank you
Re: TRichView in Android
A small measure of progress from black screen.
I set the RVStyle using a button instead of on FormCreate. At least now in RichViewEdit1 I get "Error: Abscract Error"
AddNL seems to work though the Abstract Error is showing in the background.
InsertText doesn't seem to work hmms. (Maybe just a user error on my part)
I set the RVStyle using a button instead of on FormCreate. At least now in RichViewEdit1 I get "Error: Abscract Error"
AddNL seems to work though the Abstract Error is showing in the background.
InsertText doesn't seem to work hmms. (Maybe just a user error on my part)