Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputBox() in VF7?
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00701478
Message ID:
00701514
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()?
>
>Thanks for any ideas!
>Steven-

Hi Steven,

I'm glad you find the class useful. As Ed pointed out, "InputBox" is now a native function in VFP7. If you want to keep using my Inputbox in VFP7 (and there are good reasons to do so) then you just need to rename the function in the PRG. I use "rbInputBox". IMO it's a good idea to rename the wrapper PRG, too, if only for the sake of clarity.

One of these days I'll release an update with this in place. Too many other irons in the fire right now, though.

HTH,

-Rick
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform