Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do any events fire when clicking on disabled button?
Message
 
 
À
02/10/2002 11:00:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00706874
Message ID:
00706900
Vues:
31
David,

Why not change the .ToolTip = 'Print is disabled for On Hold Orders' at the same time you set Enabled = .f.? Set the .ToolTip = "" when you set .Enabled = .t.

You have to make sure you have the form.ShowTips = .t.

>I disable a Print command button when a given condition exists on a particular record. But the user wants a message to pop up when they click on a disabled button - for example: 'Print is disabled for On Hold Orders'.
>
>Some alternatives are:
>
>1) Keep the button enabled - but disable the function - misleading because it looks like they can use the button
>2) Return .f. from the when - misleading also because it looks like the button is enabled.
>
>If in fact no events fire upon clicking a disabled button - what workarounds are there, if any to accomplish this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform