Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputBox() in VF7?
Message
De
17/09/2002 16:04:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00701478
Message ID:
00701483
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform