Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When does combobox.controlsource update?
Message
De
02/06/2003 10:45:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/06/2003 10:37:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00794803
Message ID:
00795209
Vues:
18
>>>I have a combobox bound to a buffered local view. The combobox.click calls a form method to update a business object and some fields from the same view as the combobox's view. In the business object is a call to the same field that the combobox is bound to.
>>>
>>>The combobox doesn't appear to be updating it's controlsource at all. DEBUGOUT statements in the click() before and after DODEFAULT() and the call to my procedure all show the same OLD value in the combobox.value and view.field.
>>>
>>>Can someone help me get this thing updating properly?
>>>
>>>Chris.
>>
>>Chris,
>>Couldn't understand well.
>>this.Value = this.Value
>>might help.
>
>I need code outside the combo to see the new value in the controlsource. Which David says doesn't update until the Valid.

If you're outside the combo valid already fired, no ?
Have you tried :
with .Combo
 .Value = .Value
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform