[Lazarus] Form ShowModal and ActiveX Content unexpected error

Sandro Cumerlato sandro.cumerlato at gmail.com
Sun Jun 11 16:04:10 CEST 2017


Hello,
please take a look at the attached project, it's a Windows specific minimal
project.

I'm using a TActiveXContainer and a TEvsWebBrowser to display a webpage on
Form2, opening it from Form1.

It works if Form2 is opened as a standard form (Form2.Show), but the
application gives an expection if Form2 is opened as modal form
(Form2.ShowModal).

I need to open Form2 ad ModalForm. Is there a workaround for this strange
behaviour? Is it a bug of the ActiveX container?

Thank you in advance for your reply.

Best regards,
Sandro Cumerlato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170611/821ec0ff/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ActiveXBug.zip
Type: application/zip
Size: 21763 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170611/821ec0ff/attachment-0001.zip>


More information about the Lazarus mailing list