Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Objects on a container
Message
De
08/02/2002 03:19:43
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
08/02/2002 03:11:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00617152
Message ID:
00617154
Vues:
17
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform