Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to refresh form

Status
Not open for further replies.

kuppam89

Instructor
Feb 7, 2002
2
TH
Hi
How can I refresh the Form Under Visual Fox Pro
-A.Vadivel
 
kuppam89

THISFORM.Refresh()

If you have specific controls that you want to refresh, use

THISFORM.Text1.Refresh()

This is more efficient than refreshing all the form's objects.

You need to check the control's properties to ensure that it can be refreshed, FI, to refresh a label, use

THISFORM.Label1.Caption = [My new value]

not

THISFORM.Label1.Refresh()

HTH

Chris :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top