Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Newbie Question, I guess...
Message
De
01/12/2000 00:08:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00443741
Message ID:
00447870
Vues:
7
>is there anyway to make a .prg file interactive? Just a simple .PRG file, nothing fancy. What I want to do is, to ask the user to insert a number (just like cin>>variable in C) and store that number in a variable.

You should create a form with a TextBox control on it, and then you can do something like:

MyVariable = inputform.textbox1.value

And that should hold ya'. If you don't want to create the form yourself, Rick Borup and I both have files here that do this for you and the functinoality is included (finally) in VFP7.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform