Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling selected objects for later restore
Message
 
À
06/09/2006 10:02:07
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01151156
Message ID:
01151332
Vues:
41
Hi James,

Dopey me! I definitely DO have all my objects subclassed however I have not previously created a custom method of a subclassed object. By looking harder, I found it in the menu.

Anyway, I added the code but the buttons whilst technically disabled (that is, they do NOT function whilst the child form is open and has focus) the buttons still 'appear' enabled.

The bottom line is I didn't really explain what I wanted in full. I need to grey out the buttons so that not only are they disabled, they appear disabled. I hope I have now explained the problem.

Are you aware of a code snippet that loops through the objects (in this case buttons) and saves their enabled state to an array so that they can be bulk disabled -
.SetAll("ecommand",.F.,"Enabled")
then returned to their proper state once the child form is closed?

Regards..Rex

Vale...Steve Irwin!!!
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform