Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting tabs properties
Message
 
À
02/08/2001 08:27:32
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00538318
Message ID:
00558936
Vues:
12
>>With oword.Selection.PARAGRAPHS
>>.LEADER (tried different values here, no luck yet)
>>ENDWITH
>
>No, you have to add TabStop objects and set their Leader property. Take a look at the TabStop object and the TabStops collection in the Word VBA Help.
>
>Tamar

Tamar,

Thanks to your advice and, with the help from a friend this is what I came up with and, it works.

#define wdtableaderdots 1
#define wdaligntabright 1
lnpoints = oword.application.inchestopoints( 2.67 )
oword.selection.wholestory
oword.selection.paragraphformat.tabstops.add(lnpoints, wdaligntabright, wdtableaderdots)

Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform