Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How prevent VFP message 'This control is read-only'?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00368396
Message ID:
00368412
Vues:
36
Nadya,

Put a conditional NODEFAULT in the KeyPress() method. Let keys like arrows and tab to work and nodefault everything else.

>If I set columns in a grid (or the whole grid itself) to be ReadOnly and then try to type something, I get a message: 'This control is read-only'. I also get beep signal. Today for some reason it starts irritating me. Is there a way to prevent this message from appearing? I tried checkbox.click event (for this particular column it was check box), but with no lack. I was thinking about adding this code into column.click itself, but not sure, it helps. Could you point me in right direction, if it's doable?
df (was a 10 time MVP)

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

Click here to load this message in the networking platform