Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex form
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Complex form
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01536677
Message ID:
01536677
Vues:
89
Hi everybody,

I have a very complex Item Edit form with many pages and lots of code. If I invoke an item for editing and when doing nothing press 'Duplicate' button I get for some items a change in GetFldState for several fields and for some items there is no change. I'm trying to figure out what exactly is making GetFldState to report 2 in these fields. I did identify the fields, but I don't see any code changing them.

So, my question is - how can I set a breakpoint on the field value change for the particular form?

Thanks in advance.

----------
I found that the option button class has this code in its Init method:
if this.value = 0
   this.value = 1
endif
Not sure who added such code and why, but this is the reason for strange behavior.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform