Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text_Access method.
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00566997
Message ID:
00567548
Views:
13
>Hi!
>
>Value_Assign/Access will be called ONLY in case you change this property programmatically. As far as I know, VFP do not call Access/Assign methods for property when that property is changed by the VFP internally. For example, in your case Value_Assign will not be called when you refresh control and new value is read from the control source. So think twisse of it will work for you.

In this specific case it should be OK, I'm not using the control source. Although tomorrow I'll probably want to <g>. Thanks for the heads up.

>If you;re going to organize custom refreshing of the control, you have to do it by another way. Past catching of the Value assign and access programmatically from VFP code, you require also to write cde in the Refresh method of the control to catch when control is refreshed after control source change. In the valid event you need to catch the moment when value is changed by typing in the control or changing its value interactively (this also do not fire Assign event).

I've done that before, it's kind of a PITA to get it to work properly. Thanks for the info.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform