![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#3
|
|||
|
|||
|
al final e conseguido solucionarlo de esta manera:
procedure TForm1.Button1Click(Sender: TObject); var i, j: Integer; FormItem: Variant; begin //Result := False; //no form on document if WebBrowser1.OleObject.Document.all.tags('FORM').Length = 0 then begin Exit; end; //count forms on document for I := 0 to WebBrowser1.OleObject.Document.forms.Length - 1 do begin FormItem := WebBrowser1.OleObject.Document.forms.Item(I); for j := 0 to FormItem.Length - 1 do begin try //when the fieldname is found, try to fill out if FormItem.Item(j).Value = 'Login' then begin FormItem.Item(j).Click; //Result := True; end; except Exit; end; end; end; end; Gracias de todos modos!!! |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Saber al boton que se le dio click en un StringGrid | chico_bds | OOP | 2 | 11-11-2009 18:52:26 |
| llamar al evento click de un boton q se encuentra en un form desde otro form | TURBOIGOR | OOP | 6 | 02-12-2008 14:50:16 |
| Hacer Click Automaticamente en un boton | ZayDun | HTML, Javascript y otros | 5 | 24-07-2008 11:20:47 |
| No cerrar la ventana cuando le doy click al boton de la barra de titulo | lostprophets | Varios | 5 | 15-05-2007 00:14:18 |
| como cancelar un click en el boton (X) de un formulario???? | mguixot | OOP | 2 | 29-07-2003 12:23:35 |
|