I get the following compiler hints with XE2, current version of TMS IW components:
[DCC Hint] IWTMSBase.pas(250): H2443 Inline function 'TPen.GetColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] iwadvselector.pas(350): H2443 Inline function 'TPen.GetColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] iwadvselector.pas(565): H2164 Variable 'graddir' is declared but never used in 'TTIWAdvSelector.RenderHTML'
[DCC Hint] IWiPhoneBase.pas(412): H2443 Inline function 'TPen.GetColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] IWSideNavBar.pas(694): H2443 Inline function 'TPen.GetColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
I notice in IWTMSBase that System.UITypes is included in the uses list if conditional define DELPHIXE2_LVL exists. However this define does not exist in my TMSDEFS.INC file.
Is there something I need to do to get rid of these hints?
Have you tried using tmsdefs121.inc which does contain a DELPHIXE2_LVL define?
If you require a different .inc file you can add the define the .inc file or remove the IFDEF from the source.
You can safely remove the graddir variable.
This will be fixed in the next release of the TMS IW Component Pack.
This will be fixed in the next release of the TMS IW Component Pack.