Solved

help with delphi embedded webbrowser selection

Posted on 2010-08-28
1
437 Views
Last Modified: 2012-05-10
frineds i am need select a code in html, for click in buttons working and for select not working, the code i use for click in button is
EmbeddedWB1.OleObject.Document.all.Item('setaFilho1', 0).click;  and working and when try select not working, the html is
<select class="valor" style="text-align: left;" tabindex="10" name="finalidade"><option value="01">Crédito em conta corrente</option>
<option value="02">Pagamento aluguel/condomínios</option>
<option value="03">Pagamento duplicatas/títulos</option>
<option value="04">Pagamento dividendos</option>
<option value="05">Pagamento mensalidades escolares</option>
<option value="06">Pagamento salários</option>
<option value="07">Pagamento a fornecedores</option>
<option value="08">Operação câmbio/fundos/bolsa valores</option>
<option value="09">Repasse arrecadação/pagamento de tributos</option>
<option value="10">Transferência internacional em reais</option>
<option value="11">Crédito em conta de poupança</option>
<option value="23">Pagamento de bolsa auxílio</option>
<option value="24">Remuneração a cooperado</option>
<option value="25">Pagamento de honorários</option>
<option value="26">Pagamento de prebenda</option>
<option value="99">Outros</option></select>
0
Comment
Question by:thaiskis
1 Comment
 
LVL 13

Accepted Solution

by:
aflarin earned 500 total points
ID: 33551885
this code selects Transferência internacional em reais:

EmbeddedWB1.OleObject.Document.all.Item('finalidade').value:= '10';

to select other options use their value instead of '10'
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now