>Hi all,
>is there an equivalent command to the setall() command in VFP? or is there another way to disable or change the property of all the controls on a form??
You can loop through the collection of controls:
Dim x as Control
For each x in me.controls
On error resume next
x.Enabled = false
On error goto 0
next
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com