Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word automation
Message
De
18/12/2003 09:31:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00859686
Message ID:
00860318
Vues:
16
Yuri finally figured out how to change a checkbox!!

this code works:

WITH oWord.ActiveDocument
for ia=1 to .FormFields.Count
WITH .FormFields(ia)
if .Type=71 && wordfieldformcheckbox
? .Checkbox.Size
.Checkbox.Value = .T. &&turn checkbox on
endif
ENDWITH
endfor
ENDWITH

Thanks to Yuri for figuring this out!

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform