Die Holländer 45 Posted April 8, 2021 Hello, I upgraded to Delphi 10.4.1. and now I got a conflict between JVCL and when an application style is selected. I use the TJvFilenameEdit and when I open the folder to select a filename in runtime and later close the appliction an access voilation error about the style will occur and at the end the famous Runtime Error 216 is displayed. Is this a known problem with JVCL? Anyone a suggestion how to use the JVCL and Styles? For now I have disabled the styles because I use the JVCL a lot in my applications. I come from Delphi 10.2 and there was no problem. Thanks. Share this post Link to post
Die Holländer 45 Posted April 14, 2021 I placed the TJvFilenameEdit on a new project form with a project style selected and now no access voilation occurs. I've no idea why the access voilation happens in my existing project.. Share this post Link to post
Die Holländer 45 Posted April 14, 2021 It seems that is not the JVCL component that bugs me but the dialog used by this component. The TJvFilenameEdit is using the TOpenTextFileDialog and when I execute this component the same problem with Styles occur. I've also tried the standard TOpenDialog and also no luck. When I use the TFileOpenDialog (from the Vista Dialogs) then indeed a different filedialog is opened and no problem with styles occur when I close my application. Share this post Link to post
Die Holländer 45 Posted May 10, 2021 Quite bizar but you need an extra non-native library to let the dialogs work with Styles.. https://github.com/RRUZ/vcl-styles-utils and this is also using https://github.com/MahdiSafsafi/DDetours Now the Vista dialog has also the style added. Share this post Link to post