Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Txtbox displays value after afterchange
Message
From
30/07/2003 16:29:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Txtbox displays value after afterchange
Miscellaneous
Thread ID:
00815115
Message ID:
00815115
Views:
36
I have a textbox on a form and I am using setvalue to change it's value.
thisform.txtmy.setvalue('x4')
thisform.refresh()
thisform.refreshall()
I want some code to fire after the value of that textbox has been successfully changed. So in the txtmy.afterchange event I placed my code:
dodefault()
this.refresh()

**rest of my code.......
The problem i am having is that the value 'x4' is not displayed until after the rest of my code fires. These values are being read from a barcode wand, so my users are unsure if the value scanned, they have to wait until the afterchange code fires, even though I included dodefault()

My application takes the value entered, runs it through some routines, then displays that value in different controls on the form, depending on it's value. The value of the textbox and the other controls are displayed essentially simoutaneously after the afterchange code fires. I want it to show up in the textbox before the custom afterchange code fires.
Next
Reply
Map
View

Click here to load this message in the networking platform