Einzelnen Beitrag anzeigen

marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#11

Re: Forular lässt sich nicht ausfüllen

  Alt 23. Jun 2005, 12:50
@taladan: falsch - schau mal in die Dokumentation...

@manakinn: so gehts

Delphi-Quellcode:
var
  doc: IHTMLDocument2;
  ta: IHTMLTextAreaElement;
begin
  doc := WebBrowser.Document as IHTMLDocument2;
  ta := doc.all.item('Body', 0) as IHTMLTextAreaElement;
  ta.value := 'asgdjhasjdjasdfhgsaf';
  ShowMessage(ta.value);
end;
Die TextArea namens "Body" wird übrigens als hidden field für die Übermittlung an Yahoo verwendet. Am Bildschirm siehst du nur das Editor Applet.

marabu
  Mit Zitat antworten Zitat