Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Install Failure TMS FNC UI Pack 2.1.4.2

 Post Reply Post Reply
Author
Roland Cueni View Drop Down
New Member
New Member
Avatar

Joined: 25 Apr 2018
Posts: 3
Post Options Post Options   Quote Roland Cueni Quote  Post ReplyReply Direct Link To This Post Topic: Install Failure TMS FNC UI Pack 2.1.4.2
    Posted: 09 May 2018 at 11:01pm
Hello,
I am trying to install the TMS FNC UI Pack 2.1.4.2 on Delphi 10.2.3 and it keeps on failing.
The installer "succeeds" (no errror message and it says "success") but the process goes  and no BPLs are created anywhere.
According to the log file there is a problem with the TTMSFNCSearchEditButton in the unit "FMX.TMSFNCSearchEdit.pas".

Extract from the log file:
C: \ Users \ lrcu \ Documents \ tmssoftware \ TMS FNC UI Pack \ FMXTMSFNCUIPackPkgDXE11.dproj "(Build target) (1) ->
(_PasCoreCompile target) ->
   FMX.TMSFNCSearchEdit.pas (913): error E2010: Incompatible types: 'TComponent' and 'TTMSFNCSearchEditButton'
   FMXTMSFNCUIPackPkgDXE11.dpk (116): error F2063: Unused unit 'FMX.TMSFNCSearchEdit.pas' can not be compiled


The attempt to compile manually also fails.
Is this problem known and is there a solution?

best regards
Roland

Back to Top
Carlos Tre View Drop Down
New Member
New Member
Avatar

Joined: 03 May 2018
Posts: 5
Post Options Post Options   Quote Carlos Tre Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2018 at 3:07pm
Hi Roland,

I run into the same problem yesterday, and I solved it by replacing 'Self' with 'nil'. That's because in that context 'Self', a TTMSFNCSearchEditButton,  is a direct TPersistent descendant, it does not inherits from TComponent. At any rate, the destructor takes care of freeing the memory allocated in the constructor, so even if 'Self' were compatible, it wouldn't have made sense in face of a explicit destruction.

On the other hand, TPersistent may not be a suitable parent, so I am submitting this to the support team for approval - or not. :-)

The units needing the fix are

FMX.TMSFNCCategoryList.pas
FMX.TMSFNCSearchEdit.pas
FMX.TMSFNCTableView.pas

and their VCL counterparts.

HTH.

Kind regards,
Carlos Tré

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down