Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ready only
Message
De
09/03/2003 09:46:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00763407
Message ID:
00763415
Vues:
11
>How can I replace the message
>
> "this control is ready only"
>
> with a message of mine ?

I am not sure, perhaps you can intercept the KeyPress event.

But I want to point out that you can also change property .Enabled = .F. This will make it impossible for the user to click into the control. (This can be a disadvantage: The user can't select text and then select "Edit | Copy". In general, a disabled control can't react to any user input.) It will also appear in disabled colors.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform