Hola a todos,
Detallando un poco acerca de como mejorara el
Programita, me surgio un problema con el WeBrowser intentando hacer esto:
Código Delphi
[-]Page := TPageControl.Create(Self);
wb := TWebBrowser.Create(Self);
wb.Parent := Page;
El error es
Cannot assing to a read-only property cuando le intento asignar como parent el PageControl.
Cita:
Empezado por Ayuda Delphi
WebBrowser provides access to the Web browser functionality of Microsoft’s Shell Doc Object and Control Library (SHDOCVW.DLL).
Unit
ShDocVw
Description
TWebBrowser wraps the IWebBrowser2 interface from Microsoft’s Shell Doc Object and Control Library (SHDOCVW.DLL) to allow you to create a customized Web browsing application or to add Internet, file and network browsing, document viewing, and data downloading capabilities to your applications.
Note: Because TWebBrowser wraps the SHDOCVW.DLL, you must have SHDOCVW.DLL installed to use this component. This DLL ships with Internet Explorer 4 and later. Hereda del TOleControl
|
Entonces, ¿Como puedo asignarle el parent visual al WebBrowser?
