Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manipulating Value in document object
Message
 
 
To
10/11/2003 10:03:59
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00848279
Message ID:
00848287
Views:
10
>Using the IEExplorer Control on a form I am trying to select a certain value from a
<Select></Select>
html box which is named "startdatemonth". I am able to test to see if an option item is selected or not but I cannot figure out how to programatically select one of the options in the box. Any ideas? Here is how I am accessing the values of the document:
>
>o = oForm.obrowser
>?o.document.frames(2).document.all.startdatemonth(11).selected
>?o.document.frames(2).document.all.startdatemonth(11).innertext
>
>Paul Montgomery
Try
oSDM = o.document.frames(2).document.all.startdatemonth
? oSDM.Value
oSDM.Value = < New Selected Value >
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform