Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a container
Message
De
31/01/2002 08:24:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
31/01/2002 08:18:33
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613278
Message ID:
00613287
Vues:
22
>Hi Hilmar,
>the controls within the container are still enabled (if ask them)
>
>You may do the following
>Add a ASSIGN Method to your container class
>within ENABLED_Assign
>
>LPARAMETERS;
> tvNewVal
>
>THIS.ENABLED = tvNewVal
>THIS.SETALL('ENABLED',tvNewVal)
>
>
>This switches all elements within your container
>You may play around with backcolor as well
>
>Agnes

Agnes,

Thanks. I had already hinted at this solution in my original question. The problem remains: when disabling all controls, and then re-enabling them, ALL controls will be enabled, including controls which were previously NOT disabled. Do you think I should somehow keep track of which controls were already disabled when I disable all?

Mit herzlichen Grüssen,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform