Link to home
Start Free TrialLog in
Avatar of geocoins-software
geocoins-software

asked on

Controlling TWebBrowser Page controls ?

In code, how can I traverse a TWebBrowser's page and find a list control by its ID (LogBookPanel1_ddLogType) and select a item from the list?

thanks

Ā <select name="LogBookPanel1$ddLogType" id="LogBookPanel1_ddLogType">
<option selected="selected" value="-1">- Select One -</option>
<option value="13">Retrieve from WCMC</option>
<option value="19">Grab it from somewhere else</option>
<option value="4">Write note</option>
<option value="48">Discovered it</option>
<option value="-1">- Select One -</option>
</select>
Avatar of Lukasz Zielinski
Lukasz Zielinski
Flag of Poland image

not exactly what you looking for but there are code snippets how to access elements of web-page:
https://www.experts-exchange.com/questions/21372503/FillForm-in-WebBrowser.html
especially first comment by calinutz can be helpfull

ziolko.
ASKER CERTIFIED SOLUTION
Avatar of wd123
wd123
Flag of Belarus image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial