>>I can not the Value_assign method to work with a checkbox control. When I click on the checkbox the value of the checkbox toggles true and false visually, but the value_assign does not fire. I have put a breakpoint in there, no dice, not even SET STEP ON works. Any ideas why it isn't working? Can anyone reproduce this behaviour with VFP6 SP4?
>
>Yup...it don't work. So what I do in these situations is to set the ControlSource to a container property and create an Assign for that property. In the Assign I update the backend (real) ControlSource with a REPLACE.
Yes, and it also doesn't work in VFP 7.0
But instead of setting the controlsource to a container you can also set it to a custom property of the checkbox class. Then you can also set the controlsource in the class too, and the only thing you have to do when you use the class is placing code in the assign method of the newly created property
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only