Jim,
Thanks a lot for your response. I was not aware of this technique. It makes our life much easier. And I found, that Mike already used it in pagecount_assign method. So, we should just use the same methods for all other properties. Right?
>>
>>I'm wondering how can we assign custom property. For example (see another thread from me and Mike Helland), if we created custom property for page - visible (It's a pity, that VFP has not this property for page object), how can we just write this.visible=.f., if this statement requeres some work behind from the class point of view?
>
>Hadya,
>
>You can use an Assign method associated with the property. In your example you would create a method named
>
>Visible_assign
>
>And in that method receive a parameter for the value being assigned;
>
>LPARAMETER vNewVal
>
>* Write your code here to react to the value being assigned
If it's not broken, fix it until it is.
My Blog