Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox.value not refreshing
Message
 
À
15/09/2000 16:33:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00417172
Message ID:
00417562
Vues:
16
>>In the interactive change of a textbox I have
>>"thisform.mylistbox1.refresh" and so I test for the value of the textbox and it comes up blank. Even as I type in more chars.
>>Seems like it's not working
>
>InteractiveChange() doesn't change the Value until the end of the method.
>Try issuing a DODEFAULT() before checking the Value

my code in the keypress event is as follows
with thisform.mylistbox1
.rowsource="select job from conlist where job =thisform.mylistbox1.value into cursor tbb"
endwith
DODEFAULT()
thisform.mylabels1.caption='Hi '+thisform.mylistbox1.value
thisform.mylistbox1.refresh
thisform.mytextbox1.refresh
thisform.refresh

but the label remains blank :(
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform