Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fire some code only if change occured
Message
De
18/09/1996 13:36:05
 
 
À
17/09/1996 21:08:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00008046
Message ID:
00008130
Vues:
41
> I have a field textbox in a grid that, if the user make some changes, I want to fire some code. > I don't want to fire that code if no change occured in the textbox. Right now, I have put the code in the Valid() event so it is fired each time. > Usually, I create a form property that contain the value of the field which can then be compared at the Valid() level with the new value of the textbox and see if changes occured. > Is there a better way to do that without having to use a form property? ****** I always put a link to the code in: Control.InteractiveChange and/or Control.ProgrammaticChange then if there's no change, nothing fires. Chris Haynes
Thankyou - Chris Haynes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform