Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Code
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00878969
Message ID:
00879000
Views:
12
Tai,

VFP does not support named arguments, so you have to look at the documentation for the MoveLeft() method and pass the arguments in the correct order. The constants WdWord and wdExtend can be looked up in the object browser or you can get a .H file from my website that lists them categorized.

>How do I convert this code "Selection.MoveLeft Unit:=WdWord, Count:=1, Extend:=wdExtend" to VFP so I won't get error?
>
>Thanks, Tai Fei Pao
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform