DavidOne 0 Posted June 24, 2022 Hello, I am working with Delphi 11.1 on a Windows 11 Pc. I downloaded the "Low code wizard 1.0" from the Get it and I created a mobile project using the wizard. When I try to run the project I get the following error: Project LowCodeTest.exe raised exception class EListError with message 'Duplicates not allowed'. I try to enable and disable different option in the wizard but the error remains there. Has somebody aleady encoutered and solved this problem? Thank you, Davide Share this post Link to post
trond 1 Posted August 15, 2022 hi, comment this line in Model.Types.pas // Get Screen orientation. function TScreenOrientationMonitor.GetScreenOrientation: TScreenOrientation; begin Result := TScreenOrientation.Portrait; // TMessageManager.DefaultManager.SubscribeToMessage(TOrientationChangedMessage, DoOrientationChanged); var screenService: IFMXScreenService; if TPlatformServices.Current.SupportsPlatformService(IFMXScreenService, screenService) then Result := screenService.GetScreenOrientation; end; 1 Share this post Link to post
DavidOne 0 Posted August 24, 2022 On 8/15/2022 at 7:59 PM, trond said: hi, comment this line in Model.Types.pas // Get Screen orientation. function TScreenOrientationMonitor.GetScreenOrientation: TScreenOrientation; begin Result := TScreenOrientation.Portrait; // TMessageManager.DefaultManager.SubscribeToMessage(TOrientationChangedMessage, DoOrientationChanged); var screenService: IFMXScreenService; if TPlatformServices.Current.SupportsPlatformService(IFMXScreenService, screenService) then Result := screenService.GetScreenOrientation; end; Thank you, it solved the error! Share this post Link to post