Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems managing grids
Message
De
21/12/2004 16:44:57
 
 
À
21/12/2004 10:49:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00971008
Message ID:
00971177
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
Where should I place code ? I tried with the lostfocus event of the control but it does not work .

If you put this code in the LostFocus() you need to put a NODEFAULT after the code because the default behavior is to junp to the next control in the tab order.

Another thing :-) I build a txtbox class wich test f th user made change.
I put a property called oldvalue.
In the when event i set this property = to the actual control value.


I do this sort of thing in my framework, but I set this.OldValue = This.Value in the GotFocus and not in the When().

in the lostfocus event i test if the control value is equal to the oldvalue,

This code, in my framework, goes in the Valid()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform