Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Readonly textbox class
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Readonly textbox class
Miscellaneous
Thread ID:
00706794
Message ID:
00706794
Views:
48
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.
Next
Reply
Map
View

Click here to load this message in the networking platform