Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writeless textbox
Message
De
03/12/2007 23:50:38
 
 
À
03/12/2007 22:05:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01272976
Message ID:
01272994
Vues:
14
>Dear Sir,
>
>I do not want to use Readonly because in this way the backcolor changes.

If you're only concerned about the colour change, you can still use .Enabled = .F., and set .DisabledForeColor and .DisabledBackColor to be the same as .ForeColor and .BackColor respectively.

Craig has a good point, though - usually it's a good idea to give users some sort of visual indication that they won't be allowed to edit the field.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform