Ver Mensaje Individual
  #2  
Antiguo 11-11-2009
Avatar de Al González
[Al González] Al González is offline
In .pas since 1991
 
Registrado: may 2003
Posts: 5.604
Reputación: 30
Al González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en bruto
Usando la unidad MSHTML.pas (y viendo algunos ejemplos que hay de esa unidad en los foros), podrías recorrer cada uno de los objetos IHTMLInputElement de la página cargada en el TWebBrowser, poniendo su propiedad ReadOnly en True.

Como referencia de apoyo esta página: http://msdn.microsoft.com/en-us/libr...27(VS.85).aspx

Cita:
If the value of the IHTMLInputElement::readOnly property is set to true, the user cannot enter or edit text in the control. When set to true, the property still allows the object to receive the focus, whereas the IHTMLInputElement::disabled property does not.
Posiblemente exista una forma más fácil de hacerlo.
Responder Con Cita