Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll() - command -
Message
De
02/02/1999 07:00:31
 
 
À
02/02/1999 06:40:32
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00182871
Message ID:
00182874
Vues:
9
>Hi all
>
>I want to disable all my objects in the active form.I know that SetAll allows it.Is my syntax correct ?
>
>SetAll("Enabled",IIF(oApp.cmdNew.Click(),.T.,.F.))
>
>Thanks for your help

Hi,

I don't see where you could put this line of code, as it needs to be evaluated constantly to work.

It seems that initially you want all objects to be disabled, and then enable them when you press the cmdNew button. In that case, I'd put this in the Init-event of the form or so :
SetAll("Enabled", .F.)
and this in the Click() method of cmdNew :
SetAll("Enabled", .T.)

Hope this helps...

Marc Van Riet
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform