>>>nOW nNow that I have my own customized toolbar with subclasses, how do I make all the textboxes on a certain form readonly?
>>
>>Have you tried thisform.SetAll("ReadOnly", .t. ,"YourTextBoxClassName") ?
>
>That's the example I was looking for. It worked, thanks!
>How bout if I wanted only selected ones to be readonly, I guess Mr. Fournier's advice might apply.
Sure it will work. Just reset ReadOnly to .f. for some textboxes after SetAll.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison