>Larry,
>
>>Technique 1
>>Property is public and there is a corresponding _Assign method.
>>
>>With this technique, you don't have to worry about much, the VFP engine will take of it. Whenever the property is assigned by anything (internal or external code) the validation in the _Assign will fire and do the appropriate thing.
>
>You do have to worry about this. If the value is assigned on the property sheet the Assign is
not triggered. Which leads to the need for lame code in the Init method:
>
>
this.MyProperty = this.MyProperty
&& to trigger assign
>
>df
David,
This is good for everyone to know. But it begs the question, why would you deliberately assign an invalid value in the property sheet and need the validation to occur?
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao