win32com InternetExplorer checkbox set?

Ilariu Raducan lale at fotonation.com
Fri May 2 06:57:19 EDT 2003


I may be wrong but usually for checkbox the property is not .value but 
.selected

Can you confirm?

Lale
Robert wrote:
> I managed to set text fields like
> 
> 
>>>>ie.Document.forms[3][2].type
> 
> u'text'
> 
>>>>ie.Document.forms[3][2].value = "my text"
> 
> 
> but when I set a checkbox or a select-one (when options have no
> explicit option values) like
> ie.Document.forms[3][2].value="1"   # or "ON" or <select-text...>
> 
> nothing happens !?
> 
> Robert





More information about the Python-list mailing list