Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactive Change
Message
 
 
À
26/06/2000 10:16:04
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00384615
Message ID:
00384620
Vues:
27
Thou shall not gore our sacred cow [VFP] by mentioning VB or Delphi. :)

Unless the bound column is 1, your Value and DisplayValue can be 2 different values. If your bound column is numeric, you need to make sure the BoundTo property is set to TRUE.

You might also need a DoDefault() at the beginning of your method code. If none of this helps, try posting your method code.

>I have finally narrowed down a bug to a few lines of code. It turns out that code I'm running inside of ComboBox.InteractiveChange() isn't sending the correct values. It's sending values from before the change, not after the change.
>
>If I put a "Set Step On" in the code, then it would send the correct value. I'm assuming because the change made to the combobox finally kicked in. It's disappointing that the code works with a set step on, but doesn't work without it.
>
>I hate to bring up Visual Basic or Delphi in a forum like this, but I usually use a OnAfterChange() method to do this type of coding. But in Visual Fox Pro, the only choice seemed to be InteractiveChange(). Can anyone think of how I can send the changed values of a combobox when a user makes the change?
>
>Thanks,
>Dustin Cote
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform