Ver Mensaje Individual
  #1  
Antiguo 15-08-2008
Avatar de felipe88
[felipe88] felipe88 is offline
Miembro Premium
 
Registrado: may 2007
Ubicación: Mi Valle del Cauca... Colombia!!!
Posts: 1.120
Reputación: 21
felipe88 Va por buen camino
Parent WebBrowser

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; // Saca error
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?
__________________
Web
Responder Con Cita