>Can I turn all textboxes and checkboxes of my form readonly without have to specify one by one ?
>
>I need to creat a button to change they to edit and not edit mode
>
>Moises
thisform.SetAll('readonly',.t., 'textbox')
thisform.SetAll('readonly',.t., 'checkbox')
this would work only if you use VFP base default class (textbox and checkbox) - and you should not do this!
If you use your custom class for textboxes and checkboxes, specify the name of the class as third parameter.
If it's not broken, fix it until it is.
My Blog