>Hi everyone,
>
>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