Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputBox() in VF7?
Message
From
17/09/2002 16:04:38
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00701478
Message ID:
00701483
Views:
15
>Hi Rick,
> I've enjoyed you InputBox() successfully in a VFP 6.0 app previously. Today I attempt to use it in VFP7 and am having problems with parameters -- from your Demo.prg compile:
>
> InputBox() --> Too few arguments
> InputBox("Wassabe?", "VFP InputBox - Top 100 Left 100", , 100, 100) -->
> Function argument value, type, or count is invalid.
>
> Works fine in VFP6. Did I miss something "new & improved" in VFP7 about parameter passing that is affecting InputBox()?
>

VFP7 has a native function InputBox(), which is not equivalent to the VFP6 code implementation...see the OnLine docs for the details of the native InputBox. If you want to continue using the old code you worked with before, you'll need to rename the function to something that isn't a VFP internal command...

>Thanks for any ideas!
>Steven-
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform