You are here:

FoxPro/visual foxpro

Advertisement


Question
My question is how a text box in visual foxpro is referred.
i.e. in vb, if text box name is ok1, then it is referred as ok1.text.  Like wise if a text box is named as ok1 in visual foxpro how do i assign a value to that text box variable.

Answer
Hi Venkat,
   In VFP, you can refer to a text box like

thisform.ok1.value from anywhere. (assuming, the form is the parent for the ok1 textbox)

In the instance of ok1, you can refer as this.value

Hope this helps

Best regards,
Markish

http://markishonline.com

FoxPro

All Answers


Answers by Expert:


Ask Experts

Volunteer


Markish

Expertise

I can answer general questions related to Foxpro from Version 2.0 to 9.0. I'll try to answer them as quickly as possible.

Experience

I've been into Dbase programming from age of 11. I've worked in versions from FoxPro 2.0 and Foxbase.
Education/Credentials
I've done my B.Tech (IT) with distinction from Anna University, Chennai - India.

Education/Credentials
I've done my B.Tech (IT) with distinction from Anna University, Chennai - India.

©2012 About.com, a part of The New York Times Company. All rights reserved.