>>In my textbox class I'd like to implement my own readonly property. I have many occasions where some textboxes should be readonly on a form and others
>>not readonly at the same time. Rather than individually controlling this
>>in the form init I though I would implement a new property something like
>>"_readonly". That way when I do a thisform.setall("readonly",llreadwrite,"MyTextBoxClass") only those textboxes with _readonly set to .t. would actually set readonly to .t.. So is there a way that I can intercept the property change to "readonly" and check the value of "_readonly" before it actually sets "readonly"? Maybe I'm going about this the wrong way. If anyone has a better method please advise.
>
>I believe you can use an assign property for this. VFP 6 or later.
>
>HTH, Hilmar.
Wow! Worked perfect! "Assign method" is what you meant I assume.
Previous
Next
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