Autor Beitrag
gbst51sc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Windows XP
Delphi 7.0 Enterprise, Delphi 2005 Personal
BeitragVerfasst: Fr 29.06.07 10:53 
Hi,

mithilfe der TWebbrowser-Komponente kann ja ein Formular ausgefüllt bzw ausgelesen werden. Wie kann man allerdings einen Radiobutton setzen, der folgenden Code in der Seite aufweist:

ausblenden Quelltext
1:
2:
<input type='radio' name='rdoSalutation' value='M' id='rdoSalutation_M'  class='checkbox'  > Herr  
<input type='radio' name='rdoSalutation' value='W' id='rdoSalutation_W'  class='checkbox'  > Frau



Danke im Vorraus
gbst51sc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Windows XP
Delphi 7.0 Enterprise, Delphi 2005 Personal
BeitragVerfasst: Mo 02.07.07 08:56 
Habe es selber herausgefunden.

Wenn das Objekt das erste auf dem Formular ist dann

ausblenden Quelltext
1:
... .forms(0).elements.item(0).checked:=True;