Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by Milline
Fri, 17 Mar 2006 16:55
Radio buttons and drop down lists
Author: Milline
Date: Fri, 17 Mar 2006 16:55
Date: Fri, 17 Mar 2006 16:55
5 lines
1266 bytes
1266 bytes
I am writing a program that fills out information on a web based form in internet explorer. I was wondering how to select values for radio buttons and drop down lists. Could someone point me in the right direction? Milline
Re: Radio buttons and drop down lists
Author: Remy Lebeau (TeamB)
Date: Fri, 17 Mar 2006 18:11
Date: Fri, 17 Mar 2006 18:11
21 lines
1741 bytes
1741 bytes
"Milline" <wmilline@earthlink.net> wrote in message
news:441ae9f9$1@newsgroups.borland.com...
> I am writing a program that fills out information on a web based
> form in internet explorer. I was wondering how to select values
> for radio buttons and drop down lists. Could someone point me
> in the right direction?
You need to access the browser's DOM interfaces. Assuming that you are
using TCppWebBrowser, then start by calling QueryInterface() on the
browser's Document propety to get an IHTMLDocument2 interface, and then
drill down from there. Read the MSDN documentation on which interfaces are
available from the browser:
Interfaces and Scripting Objects
http://msdn.microsoft.com/workshop/browser/mshtml/reference/ifaces/interface.asp
Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads