Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign called 3 times?

Status
Not open for further replies.

SteveDingle

Programmer
Jul 26, 2004
254
GB
Heya All,

VFP 9.1

This may be an old one but does anyone else see an Assign method of a form property getting called 3 times when changing the value in a Checkbox.

- Add propety to form with assign method
- Add DEBUGOUT PROGRAM() (or ? or whatever) to the assign method
- Add Checkbox to the form and make the control source the form property.

Now check/uncheck the checkbox. I'm seeing it called 3 times. Plus one more time when the form looses focus. Just checking I'm not alone. I always compare the "newvalue" to "oldvalue" prior to assigning anyway but just wanted to know if anyone else is seeing this.

Toodles,
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top