Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow Right Click or DblClick on a Disabled Control..
Message
De
27/03/2003 09:01:02
 
 
À
27/03/2003 03:50:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00770641
Message ID:
00770723
Vues:
15
Depending how complex your need is, you can simulate Enabling with a logical form property. I assume you don't want the Click to fire? In the top of your Click:

IF ThisForm.lDisabled
RETURN
ENDIF

The button is never actually disabled, so wherever you were going to disable it, you need to gray the text to make it look disabled (I think the default is ForeColor(128,128,128) and set the property.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform