Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Txtbox displays value after afterchange
Message
From
30/07/2003 17:38:06
 
 
To
30/07/2003 16:29:31
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00815115
Message ID:
00815150
Views:
11
>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()

This may be a kludge as I am fairly new to Codemine myself. Why don't you just use the value property of the control to get the initial display. Then you can use the setvalue function to force all of the validation.

Just a shot in the dark.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform