Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputBox Equivalent
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00394574
Message ID:
00447017
Views:
14
>You can find my "InputBox() for VFP" here in the UT files section, file #9714.

Hey Rick,
First of all - very cool & a big help. And for an additional bit to consider, the "DEFINE CLASS ITA_InputBox AS form" leaves the default setting for ShowWindow, which is 0. I was having a problem with oInputBox.Show() - as in it simple didn't Show() - when the calling routine was in Top-LevelForm: SomeForm.ShowWindow = 2.

So, for this specific situation I included 'ShowWindow = 1' in the ITA_InputBox class definition and then it worked as I expected. Would you think there's a way for it to be dynamic? For example:

DEFINE CLASS ITA_InputBox AS form
...
ShowWindow = iif(< calling form's ShowWindow = 2>, 1, 0)
...

Wadda-ya think?

But thanks again, Steven-
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform