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!

Application.Doevents() Method is not working.

Status
Not open for further replies.

ZuperDuper

Programmer
Jun 4, 2004
39
US
Hello,

I have a form that displays the record that I am working on at the moment in a textbox called Picture1. I am accessing a datafile through a method in a different module.

Within the module I dim form1 as new form1, then
in the loop while not EOF() I do:
form1.picture1.text="my record"
at the end of the loop I call: windows.forms.application.doevents()

As I understand, this should allow me to see the form, and the textbox with refreshed values, but only form is refreshed while the program is running, and the textbox is blank. I check for values and they are changing with each record - a text string is assigned to the Picture1.text.
What am I missing?

You should never underestimate the predictability of stupidity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top