Many thanks to bummi in the comments up there for finding a following workaround:
It appears that the problem with greyed control doesn't appear in XE3 and later but can be reproduced in earlier versions like XE2, XE, 2010 and 2009.
For these earlier versions the workaround is to place TWebBrowser
on another control such as TPanel
and then align both controls to alClient
(so that the TWebBrowser
fills entire TPanel
and TPanel
fills entire area previously filled by TWebBrowser
). Of course, alignment here is not an issue but the workaround is just to place one control on another.
The same works for TEmbeddedWB
and probably other controls that host Internet Explorer ActiveX control.
When placed on container control like TPanel
, web browser can be resized to any size without the problem described above.