http://bugs.winehq.org/show_bug.cgi?id=5376
------- Additional Comments From tony_caduto@amsoftwaredesign.com 2006-08-06 16:32 ------- I have created a test case exe built with Delphi 2006 SP2
To reproduce this bug, click the create form button, then click the set border style button and the AV will pop every time. The interesting part is the forms border does get changed, if you then click the show form button the form will be shown without it's border. this leads me to believe it should be an easy fix.
A try except around the statement "form.borderstyle:=bsnone" that takes no action prevents the AV from being shown to the user.