Hi Shailesh,
I made a mistake on my post. You cannot send THISFORM in the ON KEY LABEL, so change the command to ON KEY LABEL F5 DO SetEnabled with no further parameters. The structure of SetEnabled is also changed to:
PROCEDURE SetEnabled
_SCREEN.ActiveForm.SetAll("Enabled",.T.)
_SCREEN.ActiveForm.Refresh()
ENDPROC
Sorry for the error. Hope THIS helps :)
>>
>>We wish to change certain propertis of all the objects in a form. So how do we determine how many objects and what are they. in any particular form. and how can i change all of them on certain hot key press event.
>>
>>Thanks in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05