Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputBox() in VF7?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00701478
Message ID:
00701535
Views:
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,
>
Hey Rick,

Didya see that Ed's gonna be at Whilfest? Does someone want to bring a tape recorder?< g,d&rfer >
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform