Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-06

Form ShowModal and ActiveX Content unexpected error

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sandro Cumerlato

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>

Reply by email