Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to modify Control is Read-Only message
Message
De
30/11/2005 18:01:00
 
 
À
30/11/2005 17:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01073444
Message ID:
01073520
Vues:
15
>>>When user tries to change a value of a textbox (or another control) that is set to be ReadOnly = .T., message "The Control is read-only" pops up. Is it possible and how to make the control display a "custom" message?
>>>
>>>Thank you.
>>
>>Maybe you could just SET NOTIFY OFF and change TextBox.StatusBarText to what you want.
>
>Thank you very much for your help.
>
>Setting SET NOTIFY OFF does remove the standard "The Control is read-only" message. So this is good. But adding a test to .StatusBarText does nothing.
>
>What am I missing?

I don't know. When the control has the focus, the text shows for me.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform