Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box
Message
De
03/12/1996 14:12:47
 
 
À
21/11/1996 23:07:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00013099
Message ID:
00014065
Vues:
32
>Ed,
>
>I think I figured out why I'm having the problem on the combo box. When I skip to the next record the array that holds the combo box info still has the info from the prior record. I can set it in the Init of the form but I don't know where to reset when I skip to the next record. If there was an Interactive Change on the form that would work.

So, create a custom method on your form that everything calls when data is changed or pointers change that other objects need to know about.

When I was learning, I used the DoubleClick() event handler method to pass notification of changes from control to control.
I used THIS.parent.doubleclick() as a chain of comand pattern to send the notification up the containership hierarchy until at some level (usually the form or container) there was code that refreshed all the other controls that were affected.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform