>In VFP6 I can select all the controls on the page and set the visible property to false using the properties sheet. Is there a simple way to do this programatically, without having to set each control explicitly?
>TIA
>Marcus.
Aside from the SETALL() method that will require a call for each distinct object class (editbox, textbox, combobox, etc) you can use the controls array and cycle through that...
For each loCurObj in Thisform.controls
if pemstatus( loCurObj, "Visible", 5 )
loCurObj.Visible = .F.
endif
EndFor