help? textbox  
Author Message
Bobby110uk





PostPosted: Visual FoxPro General, help? textbox Top

Hi

I am new to vfp and my syntax knowledge is not very good actually its quite bad. I was wondering. How do you recieve user's input through a keyboard in a textbox (cmdtxtbox) and then use that input and save it as a variable (userInput)

Thanx for the help

Bobby



Visual FoxPro2  
 
 
dni





PostPosted: Visual FoxPro General, help? textbox Top

if you have a textbox named, for example, text1 you will find the "user's input" in:

thisform.text1.Value

as variable.



 
 
JLB4536





PostPosted: Visual FoxPro General, help? textbox Top

Use the controlsource property on the text box to the same name as your variable, then use REPLACE() to update your table. Make sure you have defined the variable with your setup routine.

 
 
Bobby110uk





PostPosted: Visual FoxPro General, help? textbox Top

thanx for the help i will give that a go.
 
 
MarciaAkins





PostPosted: Visual FoxPro General, help? textbox Top

I am new to vfp and my syntax knowledge is not very good actually its quite bad.

Then I suggest that you go to http://www.hentzenwerke.com/catalog/fund6.htm and grab a copy of Fundamentals: Building Visual Studio Applications on a Visual FoxPro 6.0 Foundation. It will help with your learning curve.