Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep graphics in Word
Message
De
10/08/2007 17:33:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/08/2007 17:05:46
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01247489
Message ID:
01247539
Vues:
30
>>oWd.Selection.Range.SetRange(owd.selection.range.end, owd.selection.range.end)
>>
>>pretty much selects the point after the last character. Though I'm not quite sure that this works, because it's still eating my last paragraph. Maybe it needs another .Select at the end of the line - next thing to try.
>>
>>Nope, doesn't do anything. This does:
>>
>>owd.selection.range.characters(owd.Selection.Range.Characters.Count).Select
>>
>>selects the last character. As close to nothing as it gets. The .selection.range.start and .end seem to be read only - no error if I try to change them, but no effect either.
>
>Work on Range, not Selection (always). For this problem, they the Collapse method.

Thanks - this helped. The .collapse() is among the most unintuitive names, I'd never guess what it does :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform