Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating Value in document object
Message
 
 
À
10/11/2003 10:03:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00848279
Message ID:
00848287
Vues:
11
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform