Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to modify Control is Read-Only message
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01073444
Message ID:
01073658
Vues:
14
>>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.
>
>Exclude this control from the tab sequence. Also you can return .f. from the When event thus preventing user from editting.

I like this approach, returning .F. from the When event. Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform