Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex form
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Complex form
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01536677
Message ID:
01536677
Views:
87
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
Next
Reply
Map
View

Click here to load this message in the networking platform