>>>>>I am looking for the setall syntax to make a form's textboxes read only. Thanks!
>>>>
>>>>Thisform.Setall("ReadOnly",.t.,"textbox")
>>>
>>>Than you but 1 prob. I created the form via quikform and the textboxes are actually labled [ab]po_nbr.click so not sure if they qualify as textboxes.
>>
>>Sorry, could you explain again what is "labled [ab]po_nbr.click"?
>
>po_nbr is just one of a bunch of so called textboxes on the form and was given as an example. The form like I said was created using quikform method. whenclicking on the the thing in edit mode, the object is referneced with the [ab] prefix, as you could see if you try it.
The name of the object does not matter because the 3rd parameter in SetAll refers to the class to be affected, not the name given to the object.
Mark McCasland
Midlothian, TX USA