Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Objects on a container
Message
From
08/02/2002 03:19:43
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
08/02/2002 03:11:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00617152
Message ID:
00617154
Views:
16
FOR EACH loObj IN oContainer.OBJECTS &&WHERE oContainer is your container, form, etc
 IF oObj.Name = 'myobj' THEN
  oObj.Enabled = ...
 endif
...
ENDFOR
Agnes
>Hi
>
>Using newobject I am creating controls in a container on a form.
>
>I want to enable and disable the controls and I can do that by enabling the container. But that doesn't highlight the controls as disabled.
>Is there a way of finding what controls are in the container and disabling them individually .
>Or do I have to store the control names as I create them and then use that.
>
>Thanks
>
>Nick Mason
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform