Wiki Home


Namespace: VFP

Question from a beginner:

If I have a textbox on my form and I need to pass what the user types into a variable (not a table). What is the code to place in the textbox?..and do I need to create a class (or a procedure) to make the textbox receive the input text?
I think what you're asking is how to save what the user types into the textbox. The simplest way is to specify something in the Control Source property. While Control Source can be a field of a table, it can also be a variable or property. I often add properties to a form and then use them as the Control Source for controls on that form. --TamarGranor
Category Questions Category VFP Controls
( Topic last updated: 2004.09.09 02:36:33 PM )