Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled Buttons / Enabled on Listbox Selection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00619679
Message ID:
00619716
Vues:
17
Thanks, Jim for the prompt assistance

>I hope your reference below to the report designer meant form designer :>)

OOPs! :-)

>A simple THISFORM.Command2.Enabled = .T. in the IAC of the listbox should
>do it. Use the .init of the form to set the initial state as required. Or
>in the designer if it suits you.

Yes, the following in the Init event (and with .T.'s in the IAC) works.

ThisForm._commandgroup1.Command2.Enabled = .F.
ThisForm._commandgroup1.Command3.Enabled = .F.

I think I'm beginning to catch some of this stuff! Tnx,
Randy Bosma
VFP - Because life is too short to code in something else...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform