Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputBox Equivalent
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00394574
Message ID:
00447017
Vues:
13
>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-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform