Hi,
I'm using the latest Delphi version and the latest TMS FMX sources.
Most of the time it's no problem.
Hi,
can you point out exactly in which circumstances this exception occurs? Do you have a sample that demonstrates this?
Hi Pieter,
I am using Delphi Berlin. I am using TMS FMX UI Pack 3.6.7.2 of 27 March 2018 which is the current version.
I get a similar Access Violation. It is to do with Styles
I only use the TTMSFMXPageControl in two (2) places.
In the code where the PageControl is used often I get the problem.
If I can I will post the diagnostic trace.
Regards,
Peter Evans
This is the second Access Violation I get
main thread
Unit Line Rel. Function
System 36349 +10 @IntfClear
FMX.TMSStyles TTMSFMXStyles.Destroy@
System 22152 +17 FinalizeUnits
madExcept InterceptFinalizeUnits
madExcept InterceptHaltFinalizeUnits
System 23544 +87 @Halt0
MyClient 182 +8 initialization
This is where the first error occurs
main thread
Unit Line Rel. Function
FMX.TMSStyles 150 +3 TTMSFMXStyles.GetStyleSceneObject
FMX.TMSStyles 1269 +5 TTMSFMXStyles.StyleServicesEnabled
FMX.TMSStyles 780 +2 TTMSFMXStyles.GetStyleBackgroundFillColor
FMX.TMSCustomControl 700 +2 TTMSFMXCustomControlBaseCommon.SetDefaultGraphicColors
FMX.TMSCustomControl 830 +7 TTMSFMXCustomControlBaseCommon.Create
FMX.TMSCustomControl 1185 +1 TTMSFMXCustomControlBase.Create
FMX.TMSCustomControl 1748 +1 TTMSFMXCustomControl.Create
FMX.TMSTabSet 1494 +1 TTMSFMXCustomTabSet.Create
FMX/TMSPageControl 343 +1 TTMSFMXCustomPageControl.Create
FMX/TMSPageControl 1098 +1 TTMSFMXPageControl.Create
...
...
I have just sent to support a demo application that reproduces this problem.
Regards,
Peter Evans
I have been told that there will be a fix to this issue.
Presumably after the just released version 3.6.7.3
Hi This issue should be fixed. It didn?t make it to the version history as this was a last minute change
Tank you for that response. I have just downloaded 3.6.7.3 and will be testing it soon.
I am pleased that one of my suggestions to fix the problem was used.
I have done some preliminary testing on Windows and three different Android devices. So far the fix appears to be working.
Thank you.
Thank you for the confirmation!