Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabled State of Edit Box
Message
De
05/11/2004 05:03:12
 
 
À
04/11/2004 16:50:28
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00958261
Message ID:
00958416
Vues:
15
>I think you are right. The EditBox control is in a grid. When I set the ReadOnly on the Column it works fine, but on the individual control it does not. Thanks.

This is a VFP bug.

When you go into a grid cell, VFP copy the Column.ReadOnly value into
the CurrentControl.ReadOnly.
This can to be correct when Column.Bound = .T.,
but when Column.Bound = .F. VFP have not to make this assign.

This operation it is done into the events sequence:
-CURRENTCONTROL.GOTFOCUS
- < HERE >
- GRID PAINT
- GRID.AFTERROWCOLCHANGE

then you can reset it into the AFTERROWCOLCHANGE only.

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform